linux/arch/m68k/mac
Finn Thain 75a23850cd m68k/mac: Fix compiler warning in via_read_time()
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>
2011-10-24 21:00:34 +02:00
..
baboon.c m68k: mac core - Kill warn_unused_result warnings 2009-01-12 20:56:37 +01:00
config.c m68k/mac: Add color classic ii support 2010-08-09 21:14:07 +02:00
iop.c m68k: mac core - Kill warn_unused_result warnings 2009-01-12 20:56:37 +01:00
mac_penguin.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
macboing.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-10-24 13:41:39 -07:00
macints.c mac68k: replace mac68k SCC code with platform device 2010-02-27 18:31:09 +01:00
Makefile mac68k: replace mac68k SCC code with platform device 2010-02-27 18:31:09 +01:00
misc.c m68k/mac: Fix compiler warning in via_read_time() 2011-10-24 21:00:34 +02:00
oss.c mac68k: replace mac68k SCC code with platform device 2010-02-27 18:31:09 +01:00
psc.c fix comment typos concerning "consistent" 2010-12-10 16:04:28 +01:00
via.c mac68k: replace mac68k SCC code with platform device 2010-02-27 18:31:09 +01:00