aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2023-02-14 23:27:53 +0100
committerAlexandre Belloni <[email protected]>2023-02-22 12:32:05 +0100
commita783c962619271a8b905efad1d89adfec11ae0c8 (patch)
tree2b51d546f0d83490d948907c13528fb63d142e85 /lib/test_fortify/write_overflow-strncpy-src.c
parent2d433e9c897dcb0b70ef17b536f61430b1e151d4 (diff)
rtc: allow rtc_read_alarm without read_alarm callback
.read_alarm is not necessary to read the current alarm because it is recorded in the aie_timer and so rtc_read_alarm() will never call rtc_read_alarm_internal() which is the only function calling the callback. Reported-by: Zhipeng Wang <[email protected]> Reported-by: Marcel Ziswiler <[email protected]> Fixes: 7ae41220ef58 ("rtc: introduce features bitfield") Tested-by: Philippe Schenker <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions