projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5794a39
)
scsi: core: Fix a source code comment
author
Bart Van Assche
<bvanassche@acm.org>
Fri, 10 Feb 2023 20:51:59 +0000
(12:51 -0800)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Wed, 22 Feb 2023 03:00:51 +0000
(22:00 -0500)
Fix an incorrect reference to the scsi_remove_host() function in a source
code comment.
Link:
https://lore.kernel.org/r/20230210205200.36973-2-bvanassche@acm.org
Fixes:
b49493f99690
("Fix a memory leak in scsi_host_dev_release()")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hosts.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hosts.c
b/drivers/scsi/hosts.c
index
12346e2
..
b28375f
100644
(file)
--- a/
drivers/scsi/hosts.c
+++ b/
drivers/scsi/hosts.c
@@
-356,7
+356,7
@@
static void scsi_host_dev_release(struct device *dev)
/*
* Free the shost_dev device name here if scsi_host_alloc()
* and scsi_host_put() have been called but neither
- * scsi_host_add() nor scsi_
host_remove
() has been called.
+ * scsi_host_add() nor scsi_
remove_host
() has been called.
* This avoids that the memory allocated for the shost_dev
* name is leaked.
*/