summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-08-05 15:36:26 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-08-11 16:41:22 +0200
commit9985f26717adbad2ab47143b7afd385ed70d4d4f (patch)
tree8275a6c065a6b11eb3b409675d8921d663c37117 /scripts/objdiff
parentcc459ed00ae1b50b5eeb78b96347585e19fe4711 (diff)
downloadlinux-9985f26717adbad2ab47143b7afd385ed70d4d4f.tar.gz
linux-9985f26717adbad2ab47143b7afd385ed70d4d4f.zip
s390/pci: Rework __zpci_event_availability() to remove conditional locking
Clang's compiler based static context analysis does not work with locks that are conditionally taken like in __zpci_event_availability(): arch/s390/pci/pci_event.c:402:10: warning: mutex 'get_zdev_by_fid(ccdf->fid).state_lock' is not held on every path through here [-Wthread-safety-analysis] Given that code which takes locks conditionally can be considered suboptimal rework __zpci_event_availability() to get rid of this. Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions