Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and q…
…l_adapter_reset [ Upstream commit 92766c4 ] 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>
- Loading branch information