]> err.no Git - linux-2.6/commit
[PATCH] ppx32: Fix uninitialized variable in set_preferred_console
authorPaul Mackerras <paulus@samba.org>
Fri, 20 May 2005 06:45:58 +0000 (16:45 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 20 May 2005 14:54:11 +0000 (07:54 -0700)
commit45fed46f5b98aaf439e9ef125992ec853cd98499
tree6b1637f2083772b08337ba62a33ac6a4547ae788
parent72480ef863740c3dc301b0803c9ed6d10716aa11
[PATCH] ppx32: Fix uninitialized variable in set_preferred_console

This fixes an uninitialized variable warning in arch/ppc/kernel/setup.c,
and this time gcc is actually right, there is a path that could result
in offset being uninitialized.  Zero is a sane default in this instance.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/setup.c