]> git.baikalelectronics.ru Git - kernel.git/commitdiff
sfc: replace function name in string with __func__
authorJonathan Cooper <jonathan.s.cooper@amd.com>
Tue, 28 Jun 2022 14:00:34 +0000 (15:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:40:47 +0000 (13:40 +0100)
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>
drivers/net/ethernet/sfc/mcdi.c

index a3425b6be3f7440dd7af78224c7125077973f27a..b53fb01dcbadeaa93b503a9fc1be857fecbc59c2 100644 (file)
@@ -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,