net: hns: Fix a kernel-doc warning in hinic_hw_eqs.c
authorWang Hai <wanghai38@huawei.com>
Thu, 10 Sep 2020 14:56:20 +0000 (22:56 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Sep 2020 22:18:18 +0000 (15:18 -0700)
Fixes the following W=1 kernel build warning(s):

drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c:115: warning: Excess function parameter 'hw_handler' description in 'hinic_aeq_register_hw_cb'

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c

index ca8cb68..b30733f 100644 (file)
@@ -106,7 +106,7 @@ enum eq_arm_state {
  * @aeqs: pointer to Async eqs of the chip
  * @event: aeq event to register callback for it
  * @handle: private data will be used by the callback
- * @hw_handler: callback function
+ * @hwe_handler: callback function
  **/
 void hinic_aeq_register_hw_cb(struct hinic_aeqs *aeqs,
                              enum hinic_aeq_type event, void *handle,