diff options
author | Letu Ren <fantasquex@gmail.com> | 2021-07-25 21:45:12 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-08-12 13:21:05 +0200 |
commit | 72fcaf69525d5d677e523cb5ffd2d92ca3229e23 (patch) | |
tree | 9dcadcf7917157b6325d21e97e1a46ea1d860c57 /arch/arm64/kernel/syscall.c | |
parent | 742e85fa9e802bf611ce645caa1c39bdd0a1d2a8 (diff) |
net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset
[ Upstream commit 92766c4628ea349c8ddab0cd7bd0488f36e5c4ce ]
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 <fantasquex@gmail.com>
Signed-off-by: Letu Ren <fantasquex@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/syscall.c')
0 files changed, 0 insertions, 0 deletions