]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: fix up printing of timeout error
authorShannon Nelson <snelson@pensando.io>
Mon, 24 Jan 2022 18:53:03 +0000 (10:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jan 2022 11:15:09 +0000 (11:15 +0000)
commit3e8b1dc71823a560cb43b7347406097a14934152
treef0ffe18d4776dbae9b14c3a13538b600a2b31424
parent12945c5c1b8e81a56c5f21a3306563d0f07cbd9e
ionic: fix up printing of timeout error

Make sure we print the TIMEOUT string if we had a timeout
error, rather than printing the wrong status.

Fixes: c4a13302bd79 ("ionic: allow adminq requests to override default error message")
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