[SCSI] handle scsi_add_host failure for aic79xx and fix compiler warning
authorJesper Juhl <jesper.juhl@gmail.com>
Wed, 14 Dec 2005 18:27:28 +0000 (19:27 +0100)
committerJames Bottomley <jejb@mulgrave.(none)>
Thu, 15 Dec 2005 02:52:24 +0000 (18:52 -0800)
commite7a1ca1d27e20ea2c0ba161c57e3c1d4112b60f7
tree69a919a9d6d07b1ebb9dbb836b3d20bd78afb52e
parent829b84675edbe05f11c289946216da4f5c6b8e94
[SCSI] handle scsi_add_host failure for aic79xx and fix compiler warning

Add scsi_add_host() failure handling for aic79xx
Also silence a compiler warning :
 drivers/scsi/aic7xxx/aic79xx_osm.c: In function `ahd_linux_register_host':
 drivers/scsi/aic7xxx/aic79xx_osm.c:1099: 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/aic79xx_osm.c