summaryrefslogtreecommitdiff
path: root/rust/kernel/time/hrtimer/git:/git.toradex.cn
diff options
context:
space:
mode:
authorBenjamin Block <bblock@linux.ibm.com>2025-12-05 16:47:18 +0100
committerHeiko Carstens <hca@linux.ibm.com>2025-12-14 11:03:58 +0100
commitaf241e6bfc11125e6669dabf0800fce6809dd3cf (patch)
tree820e26f667651fa7ff6267d6b1c0238d5d5fda7f /rust/kernel/time/hrtimer/git:/git.toradex.cn
parent4cb92fa763823d813d22b45b7f18fcf6e85a72ad (diff)
s390/pci: Annotate lock context imbalance in zpci_release_device()
When checking `arch/s390/pci/pci.c` with `sparse` during build, the following complaint is reported: arch/s390/pci/pci.c: note: in included file (through include/linux/smp.h, include/linux/lockdep.h, include/linux/spinlock.h, include/linux/mmzone.h, include/linux/gfp.h, include/linux/slab.h): ./include/linux/list.h:237:25: warning: context imbalance in 'zpci_release_device' - unexpected unlock But this is expected, as zpci_release_device() is expected to be called with `zpci_list_lock` held, as part of `kref_put_lock()` or similar. Reflect this by annotating the function with the appropriate __releases(). Signed-off-by: Benjamin Block <bblock@linux.ibm.com> Reviewed-by: Farhan Ali <alifm@linux.ibm.com> Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com> Reviewed-by: Gerd Bayer <gbayer@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'rust/kernel/time/hrtimer/git:/git.toradex.cn')
0 files changed, 0 insertions, 0 deletions