mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
75a23850cd
The algorithm described in the comment compares two reads from the RTC but the code actually reads once and compares the result to an uninitialized value. This causes the compiler to warn, "last_result maybe used uninitialized". Make the code match the comment, fix the warning and perhaps improve reliability. Tested on a Quadra 700. Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> |
||
---|---|---|
.. | ||
baboon.c | ||
config.c | ||
iop.c | ||
mac_penguin.S | ||
macboing.c | ||
macints.c | ||
Makefile | ||
misc.c | ||
oss.c | ||
psc.c | ||
via.c |