aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-12-12 10:55:01 +0000
committerBartosz Golaszewski <[email protected]>2023-12-15 15:43:24 +0000
commit0a10d107818cc4def73723ba3101aae0d25ea353 (patch)
tree082320c605c077a3f9ca8b1f3ed8108fafead054 /scripts/gcc-plugins/sancov_plugin.c
parentgpio: sim: implement the dbg_show() callback (diff)
downloadkernel-0a10d107818cc4def73723ba3101aae0d25ea353.tar.gz
kernel-0a10d107818cc4def73723ba3101aae0d25ea353.zip
gpiolib: allocate memory atomically with a spinlock held
We will eventually switch to protecting the GPIO descriptors with a mutex but until then, we need to allocate memory for the label copy atomically while we're holding the global spinlock. Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/linux-gpio/[email protected]/T/#u Fixes: f8d05e276b45 ("gpiolib: remove gpiochip_is_requested()") Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions