[SCSI] handle scsi_add_host failure for aic7xxx and fix compiler warning
authorJesper Juhl <jesper.juhl@gmail.com>
Wed, 14 Dec 2005 18:27:20 +0000 (19:27 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 15 Dec 2005 02:52:45 +0000 (18:52 -0800)
commit9e1fe9314cb5649b2dc73690f2cd8d0068e633d9
tree14b2fb95a2f58d618c3dcb80b916958aebfeba59
parente7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7
[SCSI] handle scsi_add_host failure for aic7xxx and fix compiler warning

Add scsi_add_host() failure handling for aic7xxx
Also silence a compiler warning :
 drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_register_host':
 drivers/scsi/aic7xxx/aic7xxx_osm.c:1100: warning: ignoring return value of `scsi_add_host', declared with attribute warn_unused_result

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic7xxx/aic7xxx_osm.c