Commit e0333b1b authored by Yang Shen's avatar Yang Shen Committed by David S. Miller

net: chelsio: cxgb4: Fix wrong function name in comments

Fixes the following W=1 kernel build warning(s):

 drivers/net/ethernet/chelsio/cxgb3/sge.c:677: warning: expecting prototype for free_qset(). Prototype was for t3_free_qset() instead
 drivers/net/ethernet/chelsio/cxgb3/sge.c:1266: warning: expecting prototype for eth_xmit(). Prototype was for t3_eth_xmit() instead

Cc: Raju Rangoju <rajur@chelsio.com>
Signed-off-by: default avatarYang Shen <shenyang39@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aeed744a
...@@ -446,7 +446,7 @@ void cxgb4_ptp_init(struct adapter *adapter) ...@@ -446,7 +446,7 @@ void cxgb4_ptp_init(struct adapter *adapter)
} }
/** /**
* cxgb4_ptp_remove - disable PTP device and stop the overflow check * cxgb4_ptp_stop - disable PTP device and stop the overflow check
* @adapter: board private structure * @adapter: board private structure
* *
* Stop the PTP support. * Stop the PTP support.
......
...@@ -6983,7 +6983,7 @@ int t4_fw_bye(struct adapter *adap, unsigned int mbox) ...@@ -6983,7 +6983,7 @@ int t4_fw_bye(struct adapter *adap, unsigned int mbox)
} }
/** /**
* t4_init_cmd - ask FW to initialize the device * t4_early_init - ask FW to initialize the device
* @adap: the adapter * @adap: the adapter
* @mbox: mailbox to use for the FW command * @mbox: mailbox to use for the FW command
* *
...@@ -10224,7 +10224,7 @@ int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size) ...@@ -10224,7 +10224,7 @@ int t4_load_cfg(struct adapter *adap, const u8 *cfg_data, unsigned int size)
} }
/** /**
* t4_set_vf_mac - Set MAC address for the specified VF * t4_set_vf_mac_acl - Set MAC address for the specified VF
* @adapter: The adapter * @adapter: The adapter
* @vf: one of the VFs instantiated by the specified PF * @vf: one of the VFs instantiated by the specified PF
* @naddr: the number of MAC addresses * @naddr: the number of MAC addresses
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment