]> 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)
commit4cc787bd88be6974f3362fa49fd8c5609bd039b8
treef0ffe18d4776dbae9b14c3a13538b600a2b31424
parentabd75d14fed6e63976b940ee8a46e05b6b92bf5e
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: 8c9d956ab6fb ("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