mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
iavf: Replace __FUNCTION__ with __func__
__FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
30872d834b
commit
619058eca5
|
|
@ -4820,7 +4820,7 @@ static void iavf_shutdown(struct pci_dev *pdev)
|
|||
iavf_close(netdev);
|
||||
|
||||
if (iavf_lock_timeout(&adapter->crit_lock, 5000))
|
||||
dev_warn(&adapter->pdev->dev, "failed to acquire crit_lock in %s\n", __FUNCTION__);
|
||||
dev_warn(&adapter->pdev->dev, "%s: failed to acquire crit_lock\n", __func__);
|
||||
/* Prevent the watchdog from running. */
|
||||
iavf_change_state(adapter, __IAVF_REMOVE);
|
||||
adapter->aq_required = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user