aic94xx: set an error code on failure
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Aug 2015 09:20:29 +0000 (12:20 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 05:41:37 +0000 (22:41 -0700)
We recently did some cleanup here and now the static checkers notice
that there is a missing error code when ioremap() fails.  Let's set it
to -ENOMEM.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/aic94xx/aic94xx_init.c

Simple merge