summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorArnd Bergmann2015-05-12 23:27:02 +0200
committerAlexandre Belloni2015-06-25 01:13:46 +0200
commitcd1420d3a90944e677987ca8c56f1cd22ecd1b51 (patch)
tree977a3495a6a383bef93e69c739bc1bf30ebb9df4 /MAINTAINERS
parentrtc: ds1307: Enable the mcp794xx alarm after programming time (diff)
downloadkernel-qcow2-linux-cd1420d3a90944e677987ca8c56f1cd22ecd1b51.tar.gz
kernel-qcow2-linux-cd1420d3a90944e677987ca8c56f1cd22ecd1b51.tar.xz
kernel-qcow2-linux-cd1420d3a90944e677987ca8c56f1cd22ecd1b51.zip
rtc: pfc8563: fix uninitialized variable warning
Gcc is unable to prove that alm_pending is always initialized when it is used, so it prints a harmless warning: drivers/rtc/rtc-pcf8563.c: In function 'pcf8563_probe': drivers/rtc/rtc-pcf8563.c:449:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized] This uses the same conditional expression that is used inside of the pcf8563_get_alarm_mode() function, to help gcc figure it out and shut up that warning, and make the ARM defconfigs build again with no warnings. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Fixes: a45d528aab8b ("rtc: pcf8563: clear expired alarm at boot time") Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions