All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aic94xx: Fix for a typo in aic94xx_init()
@ 2006-09-07 22:12 malahal
  0 siblings, 0 replies; only message in thread
From: malahal @ 2006-09-07 22:12 UTC (permalink / raw)
  To: linux-scsi

Signed-off-by: Malahal Naineni <malahal@us.ibm.com>


diff -r 134012c83658 drivers/scsi/aic94xx/aic94xx_init.c
--- a/drivers/scsi/aic94xx/aic94xx_init.c	Thu Aug 31 13:03:38 2006 -0700
+++ b/drivers/scsi/aic94xx/aic94xx_init.c	Thu Sep 07 15:05:39 2006 -0700
@@ -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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-07 22:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-07 22:12 [PATCH] aic94xx: Fix for a typo in aic94xx_init() malahal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.