]> 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 11:57:58 +0000 (13:57 +0200)
commit391fd5fbca8ee10c0e9eaeb14bfb32fc24b2f9b8
tree0cd33ac951aa3f45530a4c93ff672ce6c81e029d
parenta82fed5cc2b24964eceaa789471b30e6233b634e
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