summaryrefslogtreecommitdiffstats
path: root/Documentation/scsi
diff options
context:
space:
mode:
authorJohn Pittman <jpittman@redhat.com>2017-11-22 12:56:22 -0500
committerJonathan Corbet <corbet@lwn.net>2017-12-02 10:43:43 -0500
commita08415ea2a8b3f0173fd0612317d5cba5b57fedb (patch)
tree36488517a1b710be98348ff66f57ce6a2b0e820b /Documentation/scsi
parent0f83aaa3c07a46b41b2d5d8ee6b88617eb2c2f09 (diff)
scsi: documentation: Fix case of 'scsi_device' struct mention(s)
In scsi_mid_low_api.txt a the scsi_device structure is mentioned several times, but the leading 's' is uppercase (Scsi_device) and should be lowercase (scsi_device). Fixed by this commit. Signed-off-by: John Pittman <jpittman@redhat.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/scsi')
-rw-r--r--Documentation/scsi/scsi_mid_low_api.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/scsi/scsi_mid_low_api.txt b/Documentation/scsi/scsi_mid_low_api.txt
index 6338400eed73..2c31d9ee6776 100644
--- a/Documentation/scsi/scsi_mid_low_api.txt
+++ b/Documentation/scsi/scsi_mid_low_api.txt
@@ -319,12 +319,12 @@ struct Scsi_Host:
319 instance. If the reference count reaches 0 then the given instance 319 instance. If the reference count reaches 0 then the given instance
320 is freed 320 is freed
321 321
322The Scsi_device structure has had reference counting infrastructure added. 322The scsi_device structure has had reference counting infrastructure added.
323This effectively spreads the ownership of struct Scsi_device instances 323This effectively spreads the ownership of struct scsi_device instances
324across the various SCSI layers which use them. Previously such instances 324across the various SCSI layers which use them. Previously such instances
325were exclusively owned by the mid level. See the access functions declared 325were exclusively owned by the mid level. See the access functions declared
326towards the end of include/scsi/scsi_device.h . If an LLD wants to keep 326towards the end of include/scsi/scsi_device.h . If an LLD wants to keep
327a copy of a pointer to a Scsi_device instance it should use scsi_device_get() 327a copy of a pointer to a scsi_device instance it should use scsi_device_get()
328to bump its reference count. When it is finished with the pointer it can 328to bump its reference count. When it is finished with the pointer it can
329use scsi_device_put() to decrement its reference count (and potentially 329use scsi_device_put() to decrement its reference count (and potentially
330delete it). 330delete it).