summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2026-08-03 19:21:41 +0200
committerVasily Gorbik <gor@linux.ibm.com>2026-08-11 16:42:18 +0200
commit1f45a8663a58e89fe3025360a421ec3b7b929aa0 (patch)
treec38ea392b2295e2785b4a88365af0c252f33b24d /scripts/objdiff
parent3f7c9f9c36b47a2a5cdbc56597eddf32662ef7fa (diff)
downloadlinux-1f45a8663a58e89fe3025360a421ec3b7b929aa0.tar.gz
linux-1f45a8663a58e89fe3025360a421ec3b7b929aa0.zip
s390/sysinfo: Add context analysis attributes
Add context analysis attributes to service_level_start() and service_level_stop() to specify that those functions only acquire or release a lock. Addresses the following warnings: arch/s390/kernel/sysinfo.c:331:1: warning: rw_semaphore 'service_level_sem' is still held at the end of function arch/s390/kernel/sysinfo.c:329:2: note: rw_semaphore acquired here 329 | down_read(&service_level_sem); arch/s390/kernel/sysinfo.c:340:2: warning: releasing rw_semaphore 'service_level_sem' that was not held 340 | up_read(&service_level_sem); 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