[SCSI] lpfc : Correct queue tag handling
[cascardo/linux.git] / drivers / scsi / aic7xxx_old.c
index 4025608..8f8db5f 100644 (file)
@@ -8417,7 +8417,7 @@ aic7xxx_alloc(struct scsi_host_template *sht, struct aic7xxx_host *temp)
     p->host = host;
 
     p->scb_data = kzalloc(sizeof(scb_data_type), GFP_ATOMIC);
-    if (!p->scb_data)
+    if (p->scb_data)
     {
       scbq_init (&p->scb_data->free_scbs);
     }