Re: [patch][2/3] qlogic: call request_irq() with private data

From: Jeff Garzik
Date: Thu Oct 16 2003 - 06:31:52 EST


Aristeu Sergio Rozanski Filho wrote:
+#ifdef QL_USE_IRQ
+ if (qlirq < 0 || request_irq(qlirq, do_ql_ihandl, 0, "qlogicfas", hreg))
+ goto free_scsi_host;
+#endif
return hreg;
+free_scsi_host:
+ kfree(hreg);


should be scsi_host_put() on that last line...

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/