summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-08-06 17:38:47 +0200
committerChristian Borntraeger <borntraeger@linux.ibm.com>2026-08-07 14:18:10 +0200
commitc39c3d231f42ba50cc3a2b9161e075f4f1b7d9e0 (patch)
tree6021d65d610ee68aa2b94a2725c0179a4399a048 /tools/perf/scripts/python/bin
parent5ff53ce9a4771140336929ded9d16178cad05d95 (diff)
s390/vfio_ccw: Add __must_hold() attribute to vfio_ccw_sch_quiesce()
Add __must_hold() attribute to vfio_ccw_sch_quiesce() in order to let clang's context analysis know that sch->lock must be held on function entry. This can also be easily verified when inspecting the function. Without this annotation this leads to a valid warning when context analysis is enabled: drivers/s390/cio/vfio_ccw_drv.c:55:9: warning: expecting spinlock 'sch->lock' to be held at start of each loop [-Wthread-safety-analysis] 55 | ret = cio_cancel_halt_clear(sch, &iretry); | ^ Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Acked-by: Christian Borntraeger <borntraeger@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> [borntraeger@linux.ibm.com: fix spurious ;] Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions