summaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorKyle McMartin2007-10-20 22:23:00 +0200
committerKyle McMartin2007-10-20 22:23:00 +0200
commit7210c678202bb3107085bffeb63f66a9b8ba1c85 (patch)
tree522752089cb90b8aa6fc92d9c82caca8b7946810 /scripts/checkstack.pl
parent[PARISC] Port checkstack.pl to parisc (diff)
downloadkernel-qcow2-linux-7210c678202bb3107085bffeb63f66a9b8ba1c85.tar.gz
kernel-qcow2-linux-7210c678202bb3107085bffeb63f66a9b8ba1c85.tar.xz
kernel-qcow2-linux-7210c678202bb3107085bffeb63f66a9b8ba1c85.zip
[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 <kyle@mcmartin.ca>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions