Message ID | 20170425030845.7809-1-weiyj.lk@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/drivers/scsi/mac_esp.c b/drivers/scsi/mac_esp.c index bb567d3..dda4da2 100644 --- a/drivers/scsi/mac_esp.c +++ b/drivers/scsi/mac_esp.c @@ -580,7 +580,7 @@ static int esp_mac_probe(struct platform_device *dev) fail_free_irq: if (esp_chips[!dev->id] == NULL) - free_irq(host->irq, esp); + free_irq(host->irq, NULL); fail_free_priv: kfree(mep); fail_free_command_block: