]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:05:59 +0000 (14:05 +0200)
commit648c10c7065fdc58fee14bbf12f37163a262b560
treeb3d2be0dace24adf32229f098abdf48cb59ddfe5
parentdd7c960c3527661cc92ea1bb47613602238b9ac5
ionic: fix up printing of timeout error

[ Upstream commit 4cc787bd88be6974f3362fa49fd8c5609bd039b8 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/pensando/ionic/ionic_main.c