summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorIan Campbell <Ian.Campbell@citrix.com>2011-08-17 22:14:57 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-18 21:47:40 -0700
commit4a0342ca8e8150bd47e7118a76e300692a1b6b7b (patch)
tree01ba05e32c4a404e8dc46df4996089e782bdd714 /arch/openrisc
parent178a29600340bef5b13cd4157053679debe35351 (diff)
downloadlinux-4a0342ca8e8150bd47e7118a76e300692a1b6b7b.tar.bz2
sparc: fix array bounds error setting up PCIC NMI trap
CC arch/sparc/kernel/pcic.o arch/sparc/kernel/pcic.c: In function 'pcic_probe': arch/sparc/kernel/pcic.c:359:33: error: array subscript is above array bounds [-Werror=array-bounds] arch/sparc/kernel/pcic.c:359:8: error: array subscript is above array bounds [-Werror=array-bounds] arch/sparc/kernel/pcic.c:360:33: error: array subscript is above array bounds [-Werror=array-bounds] arch/sparc/kernel/pcic.c:360:8: error: array subscript is above array bounds [-Werror=array-bounds] arch/sparc/kernel/pcic.c:361:33: error: array subscript is above array bounds [-Werror=array-bounds] arch/sparc/kernel/pcic.c:361:8: error: array subscript is above array bounds [-Werror=array-bounds] cc1: all warnings being treated as errors I'm not particularly familiar with sparc but t_nmi (defined in head_32.S via the TRAP_ENTRY macro) and pcic_nmi_trap_patch (defined in entry.S) both appear to be 4 instructions long and I presume from the usage that instructions are int sized. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: sparclinux@vger.kernel.org Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions