summaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLetu Ren <fantasquex@gmail.com>2021-07-25 21:45:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-15 12:59:56 +0200
commit07d4712300d9e2da54675ce10831a7996b4e939e (patch)
tree113c136a34837a6e43e836ed1f04a85cea8fef01 /lib/string_helpers.c
parentedecf9a90bd8e90325122cbc57636662e99b54ad (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 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions