diff options
author | Bart Van Assche <[email protected]> | 2022-10-31 15:47:26 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-11-08 03:34:39 +0000 |
commit | 379e2554e3d10e87c0c0a728ef538f3c26d82a98 (patch) | |
tree | 0f52232bd41ed12cfe58e55f2d0bebaf9dd431ec /tools/perf/scripts/python/netdev-times.py | |
parent | 0b25e17e9018a0ea68a9f0b4787672e8c68fa8d5 (diff) |
scsi: alua: Move a scsi_device_put() call out of alua_rtpg_select_sdev()
Move a scsi_device_put() call from alua_rtpg_select_sdev() to its
callers. Fixes the following smatch complaint:
drivers/scsi/device_handler/scsi_dh_alua.c:853 alua_rtpg_select_sdev() warn: sleeping in atomic context
alua_rtpg_work() <- disables preempt
-> alua_rtpg_select_sdev()
-> scsi_device_put()
Cc: Hannes Reinecke <[email protected]>
Cc: Dan Carpenter <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions