summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Cooper <jonathan.s.cooper@amd.com>2022-06-28 16:00:34 +0200
committerDavid S. Miller <davem@davemloft.net>2022-06-29 14:40:47 +0200
commit7592d754c09c6cf0f1758ddba41cdb4e5c16b0b2 (patch)
treef6fdfa63aa2bf95fa7a9f028e7c8229c973843fa
parentsfc: Unsplit literal string. (diff)
downloadlinux-7592d754c09c6cf0f1758ddba41cdb4e5c16b0b2.tar.xz
linux-7592d754c09c6cf0f1758ddba41cdb4e5c16b0b2.zip
sfc: replace function name in string with __func__
Minor fix to existing code to make later patch checkpatch clean. Signed-off-by: Jonathan Cooper <jonathan.s.cooper@amd.com> Acked-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/sfc/mcdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.c b/drivers/net/ethernet/sfc/mcdi.c
index a3425b6be3f7..b53fb01dcbad 100644
--- a/drivers/net/ethernet/sfc/mcdi.c
+++ b/drivers/net/ethernet/sfc/mcdi.c
@@ -1472,7 +1472,8 @@ static int efx_mcdi_drv_attach(struct efx_nic *efx, bool driver_operating,
*/
if (rc == -EPERM) {
netif_dbg(efx, probe, efx->net_dev,
- "efx_mcdi_drv_attach with fw-variant setting failed EPERM, trying without it\n");
+ "%s with fw-variant setting failed EPERM, trying without it\n",
+ __func__);
MCDI_SET_DWORD(inbuf, DRV_ATTACH_IN_FIRMWARE_ID,
MC_CMD_FW_DONT_CARE);
rc = efx_mcdi_rpc_quiet(efx, MC_CMD_DRV_ATTACH, inbuf,