sparc32: Fix might-be-used-uninitialized warning in do_sparc_fault().
BugLink: http://bugs.launchpad.net/bugs/769042
[ Upstream commit
c816be7b5f24585baa9eba1f2413935f771d6ad6 ]
When we try to handle vmalloc faults, we can take a code
path which uses "code" before we actually set it.
Amusingly gcc-3.3 notices this yet gcc-4.x does not.
Reported-by: Bob Breuer <breuerr@mc.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>