diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-05 10:00:54 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-07-07 08:46:42 +0200 |
commit | eb703f98191a505f78d0066712ad67d5dedc4c90 (patch) | |
tree | 5dc85a0e152c6b4d25816f4ba5f98d3207054c20 /kernel/cpuset.c | |
parent | lockup_detector: Don't enable the lockup detector by default (diff) | |
download | linux-eb703f98191a505f78d0066712ad67d5dedc4c90.tar.xz linux-eb703f98191a505f78d0066712ad67d5dedc4c90.zip |
kernel/watchdog: Initialize 'result'
Variable on the stack is not initialized to zero, do it
explicitly.
This bug was found by a compiler warning:
kernel/watchdog.c:463: warning: 'result' may be used uninitialized in this function
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1278316854-28442-1-git-send-email-segooon@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/cpuset.c')
0 files changed, 0 insertions, 0 deletions