]> git.baikalelectronics.ru Git - kernel.git/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)
commit00fa2821e0446034c57f4c4a15766dd3b92b5edb
tree8e9b8fd1140aa9876a76da235e3fcbd7e6519682
parent3749ecea5bae089bcc57cfa1a1592c355d6d3361
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