aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/xarray.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2025-05-07 13:47:06 +0000
committerThomas Gleixner <[email protected]>2025-05-07 15:08:44 +0000
commit97f4b999e0c894d3e48e318aa1130132031815b3 (patch)
tree7d9e2fee3ee406bce396efee11eaa35515486f94 /rust/helpers/xarray.c
parentgenirq: Remove unused remove_percpu_irq() (diff)
downloadkernel-97f4b999e0c894d3e48e318aa1130132031815b3.tar.gz
kernel-97f4b999e0c894d3e48e318aa1130132031815b3.zip
genirq: Use scoped_guard() to shut clang up
This code pattern trips clang up: if (fail) goto undo; guard(lock)(lock); do_stuff(); return 0; undo: ... as it somehow extends the scope of the guard beyond the return statement. Replace it with a scoped guard to help it to get its act together. Reported-by: kernel test robot <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions