aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJonathan Cameron <[email protected]>2022-09-25 18:27:46 +0100
committerGuenter Roeck <[email protected]>2022-09-25 14:22:12 -0700
commit5e866400e9d5d68d52907cbd91082c1cad477355 (patch)
treef78e73cbab7c17a3a3a46e0c8ef39c8d2d74cd57 /lib/test_fortify/write_overflow-strncpy-src.c
parent29805956ee16b487dee57823d884df0bfe45ff69 (diff)
hwmon: (gpio-fan) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr()
These newer PM macros allow the compiler to see what code it can remove if !CONFIG_PM_SLEEP. This allows the removal of messy #ifdef barriers whilst achieving the same result. Signed-off-by: Jonathan Cameron <[email protected]> Cc: Linus Walleij <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Drop #ifdef from struct gpio_fan_data] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions