diff options
author | Jonathan Cooper <jonathan.s.cooper@amd.com> | 2022-06-28 17:00:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-06-29 15:40:47 +0300 |
commit | 7592d754c09c6cf0f1758ddba41cdb4e5c16b0b2 (patch) | |
tree | f6fdfa63aa2bf95fa7a9f028e7c8229c973843fa | |
parent | bba84bf4c1f2f8f8406149fd43a5baa81586cea0 (diff) | |
download | linux-7592d754c09c6cf0f1758ddba41cdb4e5c16b0b2.tar.xz |
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.c | 3 |
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, |