projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59ee566
)
scsi: aha1740: stop using scsi_unregister
author
Christoph Hellwig
<hch@lst.de>
Wed, 14 Mar 2018 11:48:25 +0000
(12:48 +0100)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Thu, 15 Mar 2018 04:26:54 +0000
(
00:26
-0400)
aha1740 doesn't use scsi_register, so it should not use scsi_unregister
either.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/aha1740.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/aha1740.c
b/drivers/scsi/aha1740.c
index bad35ffc015d0e0d1364eb4a72e7eb5ccf284b8d..b48d5436f094f883a92e8acb9dcc66e6c0c5f540 100644
(file)
--- a/
drivers/scsi/aha1740.c
+++ b/
drivers/scsi/aha1740.c
@@
-592,7
+592,7
@@
static int aha1740_probe (struct device *dev)
DMA_BIDIRECTIONAL);
if (!host->ecb_dma_addr) {
printk (KERN_ERR "aha1740_probe: Couldn't map ECB, giving up\n");
- scsi_
unregister
(shpnt);
+ scsi_
host_put
(shpnt);
goto err_host_put;
}