aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2023-07-06 10:29:28 +0200
committerWim Van Sebroeck <[email protected]>2023-08-19 17:14:37 +0200
commit8b3c3662186046c440ffbb7f5efc5595b1696e9d (patch)
treeb65cdabb22d11010be9ab935a9ff90c9cdc2a4a7 /lib/test_fortify/write_overflow-strncpy-src.c
parentaeb3ef51b602dce456c850414aa1becd0e7aeab1 (diff)
watchdog: starfive: Remove #ifdef guards for PM related functions
Use the new PM macros for the suspend and resume functions to be automatically dropped by the compiler when CONFIG_PM or CONFIG_PM_SLEEP are disabled, without having to use #ifdef guards. This has the advantage of always compiling these functions in, independently of any Kconfig option. Thanks to that, bugs and other regressions are subsequently easier to catch. Signed-off-by: Paul Cercueil <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions