From: Kyle McMartin Date: Sat, 20 Oct 2007 20:23:00 +0000 (-0700) Subject: [PARISC] fix uninitialized variable warning in asm/rtc.h X-Git-Tag: v2.6.24-rc1~118^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7210c678202bb3107085bffeb63f66a9b8ba1c85;p=pandora-kernel.git [PARISC] fix uninitialized variable warning in asm/rtc.h get_rtc_time, in the case that PDC returns that the battery is bad, returns an unmodified rtc_time arg to the caller, which then uses uninitialized values. Fix this by memset-ing the arg with zeroes, so it will at least be cleared if we return failure. Spotted by John David Anglin. Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed