Skip to content

Commit

Permalink
SCSI: fix typo in definition of struct scsi_target
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Feb 9, 2012
1 parent 0cb54a3 commit de8c46b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/scsi/scsi_device.h
Original file line number Diff line number Diff line change
@@ -246,8 +246,8 @@ struct scsi_target {
unsigned int single_lun:1; /* Indicates we should only
* allow I/O to one of the luns
* for the device at a time. */
unsigned int pdt_1f_for_no_lun; /* PDT = 0x1f */
/* means no lun present */
unsigned int pdt_1f_for_no_lun:1; /* PDT = 0x1f
* means no lun present. */
/* commands actually active on LLD. protected by host lock. */
unsigned int target_busy;
/*

0 comments on commit de8c46b

Please sign in to comment.