aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-10-16 19:10:01 +0300
committerLee Jones <[email protected]>2023-11-01 11:29:20 +0000
commitf5ad594e389c57dfe19059ce868392809f9b1a71 (patch)
treec64179a5f8c665390ec0be65aed13c7ad9395dd2 /lib/test_fortify/write_overflow-strncpy-src.c
parente80fc4bfc820aa44c500cf4c61e08765f36d3c63 (diff)
leds: gpio: Utilise PTR_ERR_OR_ZERO()
Avoid a boilerplate code by using PTR_ERR_OR_ZERO() in create_gpio_led(). Signed-off-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