aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_device.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2012-01-10 13:43:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-08 20:36:40 -0500
commitde8c46bfc032fbdf490cfb67f534d2a0188ebeb0 (patch)
treea93469a88834ab249181ececb83784314dc99c40 /include/scsi/scsi_device.h
parent0cb54a3e47cb4baf0bc7463f0a64cfeae5e35697 (diff)
SCSI: fix typo in definition of struct scsi_target
This patch (as1506) corrects a typo in the definition of the scsi_target structure. pdt_1f_for_no_lun is supposed to be a single-bit flag, not a full-sized integer. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/scsi/scsi_device.h')
-rw-r--r--include/scsi/scsi_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h
index 77273f2fdd80..01cb3c4cb74d 100644
--- a/include/scsi/scsi_device.h
+++ b/include/scsi/scsi_device.h
@@ -246,8 +246,8 @@ struct scsi_target {
246 unsigned int single_lun:1; /* Indicates we should only 246 unsigned int single_lun:1; /* Indicates we should only
247 * allow I/O to one of the luns 247 * allow I/O to one of the luns
248 * for the device at a time. */ 248 * for the device at a time. */
249 unsigned int pdt_1f_for_no_lun; /* PDT = 0x1f */ 249 unsigned int pdt_1f_for_no_lun:1; /* PDT = 0x1f
250 /* means no lun present */ 250 * means no lun present. */
251 /* commands actually active on LLD. protected by host lock. */ 251 /* commands actually active on LLD. protected by host lock. */
252 unsigned int target_busy; 252 unsigned int target_busy;
253 /* 253 /*