net/sfc: avoid panic in the case of MCDI timeout
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 17 Sep 2020 06:34:38 +0000 (07:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:08 +0000 (19:19 +0200)
commite70c914539ea205b6c1e0d5b496f4fbd18f76889
treefe0fabc3a6b4f02c9dd4f9101c4a0a4302162c03
parent348d4ea06cef14f9ac8d78a0819a56119635cdf5
net/sfc: avoid panic in the case of MCDI timeout

Implement dummy MCDI timeout handling which simply rejects
further MCDI requests.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/sfc_mcdi.c
drivers/net/sfc/sfc_mcdi.h