aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-spi.c
diff options
context:
space:
mode:
authorLetu Ren <[email protected]>2021-07-25 13:45:12 +0000
committerDavid S. Miller <[email protected]>2021-07-26 13:17:06 +0000
commit92766c4628ea349c8ddab0cd7bd0488f36e5c4ce (patch)
treea9657a498c75bb7897c818c8b2217043a0802d0c /drivers/fpga/xilinx-spi.c
parentsctp: delete addr based on sin6_scope_id (diff)
downloadkernel-92766c4628ea349c8ddab0cd7bd0488f36e5c4ce.tar.gz
kernel-92766c4628ea349c8ddab0cd7bd0488f36e5c4ce.zip
net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
When calling the 'ql_wait_for_drvr_lock' and 'ql_adapter_reset', the driver has already acquired the spin lock, so the driver should not call 'ssleep' in atomic context. This bug can be fixed by using 'mdelay' instead of 'ssleep'. Reported-by: Letu Ren <[email protected]> Signed-off-by: Letu Ren <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions