diff options
author | Letu Ren <fantasquex@gmail.com> | 2021-07-25 21:45:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-26 14:17:06 +0100 |
commit | 92766c4628ea349c8ddab0cd7bd0488f36e5c4ce (patch) | |
tree | a9657a498c75bb7897c818c8b2217043a0802d0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2ebda027148315581b89a2ed2fef84ad53b2aedd (diff) |
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 <fantasquex@gmail.com>
Signed-off-by: Letu Ren <fantasquex@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions