]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Fix ESP thinko in 2.5.3-final
authorDavid S. Miller <davem@redhat.com>
Tue, 5 Feb 2002 08:36:40 +0000 (00:36 -0800)
committerDavid S. Miller <davem@redhat.com>
Tue, 5 Feb 2002 08:36:40 +0000 (00:36 -0800)
I think I told you to revert this bit from 2.5.3, but here
it is in patch form anyways.  Whoever made this change didn't
read the driver, and well... didn't even build test it either :-)

drivers/scsi/esp.c

index 37b3b448fc3fc4f51a4cc93b6af1d161cd1bc629..b8dcd2ab89d6e406764bf20846c606f31779d61a 100644 (file)
@@ -813,7 +813,7 @@ static int __init esp_register_irq(struct esp *esp)
         * sanely maintain.
         */
        if (request_irq(esp->ehost->irq, esp_intr,
-                       SA_SHIRQ, "ESP SCSI", esp->ehost)) {
+                       SA_SHIRQ, "ESP SCSI", esp)) {
                printk("esp%d: Cannot acquire irq line\n",
                       esp->esp_id);
                return -1;