ionic: squelch unnecessary fw halted message
authorShannon Nelson <snelson@pensando.io>
Fri, 27 Aug 2021 18:55:08 +0000 (11:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Aug 2021 10:23:09 +0000 (11:23 +0100)
Since the heartbeat check will already have complained about
the firmware status, don't bother complaining about the
DEVCMD failing.  We'll keep the print message but demote it
to a debug messages so that we normally no longer see it.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_main.c

index 5f1e5b6..6f07bf5 100644 (file)
@@ -375,8 +375,8 @@ try_again:
                 * heartbeat check but is still alive and will process this
                 * request, so don't clean the dev_cmd in this case.
                 */
-               dev_warn(ionic->dev, "DEVCMD %s (%d) failed - FW halted\n",
-                        ionic_opcode_to_str(opcode), opcode);
+               dev_dbg(ionic->dev, "DEVCMD %s (%d) failed - FW halted\n",
+                       ionic_opcode_to_str(opcode), opcode);
                return -ENXIO;
        }