[POWERPC] mpic_pasemi_msi: Failed allocation unnoticed
commitee1a08f963c5abb5ec2d8c5defffecee7c3f84c8
authorRoel Kluin <12o3l@tiscali.nl>
Wed, 23 Apr 2008 22:32:26 +0000 (24 08:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 14 May 2008 12:31:20 +0000 (14 22:31 +1000)
tree12e3292fac87390be4b21b5dc72fbce21bbf882b
parent54ef0ec22a39071a4e7fbedd201cecac9ac6e8a7
[POWERPC] mpic_pasemi_msi: 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_pasemi_msi.c