Commit 3fe6ab12 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'hns-kdoc'



Wang Hai says:

====================
Fix some kernel-doc warnings for hns.
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents cdd0a379 07a5747a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -438,7 +438,7 @@ EXPORT_SYMBOL(hnae_ae_register);

/**
 * hnae_ae_unregister - unregisters a HNAE AE engine
 * @cdev: the device to unregister
 * @hdev: the device to unregister
 */
void hnae_ae_unregister(struct hnae_ae_dev *hdev)
{
+1 −2
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ static void hns_xgmac_lf_rf_control_init(struct mac_driver *mac_drv)

/**
 *hns_xgmac_enable - enable xgmac port
 *@drv: mac driver
 *@mac_drv: mac driver
 *@mode: mode of mac port
 */
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)
/**
 *hns_xgmac_get_regs - dump xgmac regs
 *@mac_drv: mac driver
 *@cmd:ethtool cmd
 *@data:data for value of regs
 */
static void hns_xgmac_get_regs(void *mac_drv, void *data)
+1 −2
Original line number Diff line number Diff line
@@ -1829,8 +1829,7 @@ static int hns_nic_uc_unsync(struct net_device *netdev,

/**
 * nic_set_multicast_list - set mutl mac address
 * @netdev: net device
 * @p: mac address
 * @ndev: net device
 *
 * return void
 */
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ static int wait_for_api_cmd_completion(struct hinic_api_cmd_chain *chain)
 * @chain: chain for the command
 * @dest: destination node on the card that will receive the command
 * @cmd: command data
 * @size: the command size
 * @cmd_size: the command size
 *
 * Return 0 - Success, negative - Failure
 **/
+1 −1
Original line number Diff line number Diff line
@@ -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,
Loading