powerpc/fsl_msi: fix error return code in fsl_of_msi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 13:46:36 +0000 (21:46 +0800)
committerScott Wood <scottwood@freescale.com>
Tue, 30 Jul 2013 20:50:08 +0000 (15:50 -0500)
commitf8dc6eb757c3351e282678528d052f7a4c0e44c9
tree17f3afcb59ccc380273be6ec9d053c4b2af35fe0
parent4e0e3435b50285eafe5898124ce02f7577f6803a
powerpc/fsl_msi: fix error return code in fsl_of_msi_probe()

Fix to return a negative error code in the MSI bitmap alloc error
handling case instead of 0, as done elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/sysdev/fsl_msi.c