diff options
author | Bart Van Assche <[email protected]> | 2022-10-31 15:47:25 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-11-08 03:34:38 +0000 |
commit | 0b25e17e9018a0ea68a9f0b4787672e8c68fa8d5 (patch) | |
tree | b5db9b15eda9e7647ffcf3606e8f1a6cf4adef00 /tools/perf/scripts/python | |
parent | 3d6d7930928ace6b982258ebb81d585fe20e9f44 (diff) |
scsi: alua: Move a scsi_device_put() call out of alua_check_vpd()
Fix the following smatch warning:
drivers/scsi/device_handler/scsi_dh_alua.c:1013 alua_rtpg_queue() warn: sleeping in atomic context
alua_check_vpd() <- disables preempt
-> alua_rtpg_queue()
-> 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]
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions