summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-zynqmp.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2016-04-15 14:21:10 (GMT)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-20 10:33:51 (GMT)
commit19105f424b803f32757abab5fb13eaac22b6481f (patch)
tree1ef6c0361cc58f39377a6c331743709ac7486447 /drivers/rtc/rtc-zynqmp.c
parent6406d96e74a59ae98cf3197a9f9498e14d2df562 (diff)
downloadlinux-19105f424b803f32757abab5fb13eaac22b6481f.tar.xz
rtc: ds1685: actually spin forever in poweroff path
objtool reports the following warning: drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() falls through to next function ds1685_rtc_work_queue() Similar to commit 361c6ed6b153 ("rtc: ds1685: actually spin forever in poweroff error path"), there's another unreachable() annotation which is actually reachable, which we missed the first time. Actually spin forever to be consistent with the comment and to make the unreachable() annotation guaranteed to be unreachable. Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-zynqmp.c')
0 files changed, 0 insertions, 0 deletions