Skip to contentSkip to conversation

aic94xx: Fix for a typo in aic94xx_init()

PATCH New [email protected] 1 participant 1 message Sep 7, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 aic94xx: Fix for a typo in aic94xx_init()

drivers/scsi/aic94xx/aic94xx_init.c +1 -1
diff -r 134012c83658 drivers/scsi/aic94xx/aic94xx_init.c
@@ -822,7 +822,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);