aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <[email protected]>2023-07-28 17:37:28 +0200
committerLee Jones <[email protected]>2023-08-17 09:00:06 +0100
commitafb48153220d35f330d0d979792920a31f7d9a81 (patch)
tree54ce29822b21abc872002ab3ac0d4b96bc312965 /lib/test_fortify/write_overflow-strncpy-src.c
parent179507fcd5e448eaecae9b69f0fb30965c3c4466 (diff)
leds: Provide devm_of_led_get_optional()
Add an optional variant of devm_of_led_get(). It behaves the same as devm_of_led_get() except where the LED doesn't exist. In this case, instead of returning -ENOENT, the function returns NULL. Signed-off-by: Jean-Jacques Hiblot <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions