summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-09-07 19:52:25 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2021-09-14 05:15:46 +0300
commit450907424d9ebcc28fab42a065c3cddce49ee97d (patch)
tree4aab426a96e7126dc0406fa73fbc2dabd53f9fcf /tools/perf/scripts/python/exported-sql-viewer.py
parentef7ae7f746e95c6fa4ec2bcfacb949c36263da78 (diff)
downloadlinux-450907424d9ebcc28fab42a065c3cddce49ee97d.tar.xz
scsi: elx: efct: Do not hold lock while calling fc_vport_terminate()
Smatch checker reported the following error: drivers/base/power/sysfs.c:833 dpm_sysfs_remove() warn: sleeping in atomic context With a calling sequence of: efct_lio_npiv_drop_nport() <- disables preempt -> fc_vport_terminate() -> device_del() -> dpm_sysfs_remove() Issue is efct_lio_npiv_drop_nport() is making the fc_vport_terminate() call while holding a lock w/ ipl raised. It is unnecessary to hold the lock over this call, shift where the lock is taken. Link: https://lore.kernel.org/r/20210907165225.10821-1-jsmart2021@gmail.com Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Co-developed-by: Ram Vegesna <ram.vegesna@broadcom.com> Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions