aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorZhengchao Shao <[email protected]>2022-11-09 02:54:32 +0000
committerPaolo Abeni <[email protected]>2022-11-10 12:30:01 +0000
commitf111606b63ff2282428ffbac0447c871eb957b6c (patch)
tree7a06c1f49fddac578ce0c816da4eec3d499cb2c4 /drivers/platform/x86/intel/pmt/class.c
parentethernet: s2io: disable napi when start nic failed in s2io_card_up() (diff)
downloadkernel-f111606b63ff2282428ffbac0447c871eb957b6c.tar.gz
kernel-f111606b63ff2282428ffbac0447c871eb957b6c.zip
net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()
When failed to init rxq or txq in mv643xx_eth_open() for opening device, napi isn't disabled. When open mv643xx_eth device next time, it will trigger a BUG_ON() in napi_enable(). Compile tested only. Fixes: 2257e05c1705 ("mv643xx_eth: get rid of receive-side locking") Signed-off-by: Zhengchao Shao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions