From: malahal@us.ibm.com Date: Thu, 7 Sep 2006 22:12:42 +0000 (-0700) Subject: [SCSI] aic94xx: Fix for a typo in aic94xx_init() X-Git-Tag: v2.6.19-rc1~1266^2~19^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d19ae5e1715c27db7009df6d59179774e7b8a1;p=linux-2.6 [SCSI] aic94xx: Fix for a typo in aic94xx_init() Signed-off-by: Malahal Naineni Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/aic94xx/aic94xx_init.c b/drivers/scsi/aic94xx/aic94xx_init.c index 302b54fddf..ee2ccad704 100644 --- a/drivers/scsi/aic94xx/aic94xx_init.c +++ b/drivers/scsi/aic94xx/aic94xx_init.c @@ -828,7 +828,7 @@ static int __init aic94xx_init(void) aic94xx_transport_template = sas_domain_attach_transport(&aic94xx_transport_functions); - if (err) + if (!aic94xx_transport_template) goto out_destroy_caches; err = pci_register_driver(&aic94xx_pci_driver);