Commit 5776e385 authored by James Bottomley's avatar James Bottomley Committed by Christoph Hellwig

SCSI: slave_detach -> slave_destory comment fix

From: 	Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 53554c18
...@@ -151,7 +151,7 @@ struct scsi_host_template { ...@@ -151,7 +151,7 @@ struct scsi_host_template {
* here then you will get a call to slave_configure(), then the * here then you will get a call to slave_configure(), then the
* device will be used for however long it is kept around, then when * device will be used for however long it is kept around, then when
* the device is removed from the system (or * possibly at reboot * the device is removed from the system (or * possibly at reboot
* time), you will then get a call to slave_detach(). This is * time), you will then get a call to slave_destroy(). This is
* assuming you implement slave_configure and slave_destroy. * assuming you implement slave_configure and slave_destroy.
* However, if you allocate memory and hang it off the device struct, * However, if you allocate memory and hang it off the device struct,
* then you must implement the slave_destroy() routine at a minimum * then you must implement the slave_destroy() routine at a minimum
...@@ -185,7 +185,7 @@ struct scsi_host_template { ...@@ -185,7 +185,7 @@ struct scsi_host_template {
* specific setup basis... * specific setup basis...
* 6. Return 0 on success, non-0 on error. The device will be marked * 6. Return 0 on success, non-0 on error. The device will be marked
* as offline on error so that no access will occur. If you return * as offline on error so that no access will occur. If you return
* non-0, your slave_detach routine will never get called for this * non-0, your slave_destroy routine will never get called for this
* device, so don't leave any loose memory hanging around, clean * device, so don't leave any loose memory hanging around, clean
* up after yourself before returning non-0 * up after yourself before returning non-0
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment