aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/structleak_plugin.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2023-12-04 09:35:00 +0000
committerBartosz Golaszewski <[email protected]>2023-12-08 08:25:53 +0000
commitee25fba76acd8324f9de6628872c8c612a684209 (patch)
tree9133043e88c4577cd4169780bd282f0686350a29 /scripts/gcc-plugins/structleak_plugin.c
parentLinux 6.7-rc1 (diff)
downloadkernel-ee25fba76acd8324f9de6628872c8c612a684209.tar.gz
kernel-ee25fba76acd8324f9de6628872c8c612a684209.zip
gpiolib: provide gpiochip_dup_line_label()
gpiochip_is_requested() not only has a misleading name but it returns a pointer to a string that is freed when the descriptor is released. Provide a new helper meant to replace it, which returns a copy of the label string instead. Signed-off-by: Bartosz Golaszewski <[email protected]> Acked-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions