Searched hist:"12 fb8c1574d7d0c262d2f4c667047889c4f27ebe" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/scsi/ |
H A D | scsi_scan.c | diff 12fb8c1574d7d0c262d2f4c667047889c4f27ebe Thu Mar 18 20:41:22 CET 2010 Alan Stern <stern@rowland.harvard.edu> [SCSI] don't kfree an initialized struct device
This patch (as1359) fixes a bug in scsi_alloc_target(). After a device structure has been initialized (and especially after its name has been set), it must not be freed directly. One has to call put_device() instead.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
|