Skip to content

Commit 3fe6ab1

Browse files
committed
Merge branch 'hns-kdoc'
Wang Hai says: ==================== Fix some kernel-doc warnings for hns. ==================== Signed-off-by: David S. Miller <[email protected]>
2 parents cdd0a37 + 07a5747 commit 3fe6ab1

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

drivers/net/ethernet/hisilicon/hns/hnae.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ EXPORT_SYMBOL(hnae_ae_register);
438438

439439
/**
440440
* hnae_ae_unregister - unregisters a HNAE AE engine
441-
* @cdev: the device to unregister
441+
* @hdev: the device to unregister
442442
*/
443443
void hnae_ae_unregister(struct hnae_ae_dev *hdev)
444444
{

drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv)
130130

131131
/**
132132
*hns_xgmac_enable - enable xgmac port
133-
*@drv: mac driver
133+
*@mac_drv: mac driver
134134
*@mode: mode of mac port
135135
*/
136136
static void hns_xgmac_enable(void *mac_drv, enum mac_commom_mode mode)
@@ -490,7 +490,6 @@ static void hns_xgmac_get_link_status(void *mac_drv, u32 *link_stat)
490490
/**
491491
*hns_xgmac_get_regs - dump xgmac regs
492492
*@mac_drv: mac driver
493-
*@cmd:ethtool cmd
494493
*@data:data for value of regs
495494
*/
496495
static void hns_xgmac_get_regs(void *mac_drv, void *data)

drivers/net/ethernet/hisilicon/hns/hns_enet.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,8 +1829,7 @@ static int hns_nic_uc_unsync(struct net_device *netdev,
18291829

18301830
/**
18311831
* nic_set_multicast_list - set mutl mac address
1832-
* @netdev: net device
1833-
* @p: mac address
1832+
* @ndev: net device
18341833
*
18351834
* return void
18361835
*/

drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ static int wait_for_api_cmd_completion(struct hinic_api_cmd_chain *chain)
373373
* @chain: chain for the command
374374
* @dest: destination node on the card that will receive the command
375375
* @cmd: command data
376-
* @size: the command size
376+
* @cmd_size: the command size
377377
*
378378
* Return 0 - Success, negative - Failure
379379
**/

drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ enum eq_arm_state {
106106
* @aeqs: pointer to Async eqs of the chip
107107
* @event: aeq event to register callback for it
108108
* @handle: private data will be used by the callback
109-
* @hw_handler: callback function
109+
* @hwe_handler: callback function
110110
**/
111111
void hinic_aeq_register_hw_cb(struct hinic_aeqs *aeqs,
112112
enum hinic_aeq_type event, void *handle,

drivers/net/ethernet/huawei/hinic/hinic_hw_io.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,8 +363,8 @@ static void destroy_qp(struct hinic_func_to_io *func_to_io,
363363
* @func_to_io: func to io channel that holds the IO components
364364
* @base_qpn: base qp number
365365
* @num_qps: number queue pairs to create
366-
* @sq_msix_entry: msix entries for sq
367-
* @rq_msix_entry: msix entries for rq
366+
* @sq_msix_entries: msix entries for sq
367+
* @rq_msix_entries: msix entries for rq
368368
*
369369
* Return 0 - Success, negative - Failure
370370
**/

0 commit comments

Comments
 (0)