sparc32: off by ones in BUG_ON()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 15 Jul 2016 11:05:33 +0000 (14:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jul 2016 05:53:17 +0000 (22:53 -0700)
commitfa1608285b0c350af4848b32e42261f02806073e
treeb9bdbd5aa0108215ec593fa23e1b060b024b4d58
parent4f6deb8cbab532a8d7250bc09234c1795ecb5e2c
sparc32: off by ones in BUG_ON()

Smatch complains that these tests are off by one, which is true but not
life threatening.

arch/sparc/kernel/irq_32.c:169 irq_link()
error: buffer overflow 'irq_map' 384 <= 384

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/irq_32.c