]> err.no Git - linux-2.6/commit
RTC/watchdog: M41T80: fix a potential use of unitialized data
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 12 May 2008 21:02:35 +0000 (14:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 May 2008 15:02:26 +0000 (08:02 -0700)
commit417607d05f41dbe2acccdb7a298a81d30ba1d22b
tree8e9b8fd1140aa9876a76da235e3fcbd7e6519682
parent6c82c4150910dedd449194cb6d286b80478f3542
RTC/watchdog: M41T80: fix a potential use of unitialized data

Watchdog handlers within the driver make use of "save_client" -- make sure it
has been initalized before the handlers are registered.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Alexander Bigga <ab@mycable.de>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-m41t80.c