[POWERPC] mpic_u3msi: Failed allocation unnoticed
commit9d5f525b86453da921360727112161254accc8c1
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 23 Apr 2008 23:03:02 +0000 (24 09:03 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:25 +0000 (14 22:31 +1000)
treea87bd5c9e4d94ddef0724bb68a4ed1815e552d84
parentee1a08f963c5abb5ec2d8c5defffecee7c3f84c8
[POWERPC] mpic_u3msi: Failed allocation unnoticed

bitmap_find_free_region(), called by mpic_msi_alloc_hwirqs() may return
signed, but hwirq is unsigned.  A failed allocation remains unnoticed.

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/mpic_u3msi.c