sparc64: Fix build errors with gcc-4.6.0
authorDavid S. Miller <davem@davemloft.net>
Sun, 27 Feb 2011 07:40:02 +0000 (23:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Mar 2011 01:19:15 +0000 (18:19 -0700)
Most of the warnings emitted (we fail arch/sparc file
builds with -Werror) were legitimate but harmless, however
one case (n2_pcr_write) was a genuine bug.

Based almost entirely upon a patch by Sam Ravnborg.

Reported-by: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found