mirror of
https://github.com/torvalds/linux.git
synced 2024-12-03 17:41:22 +00:00
libata-scsi: correct cbd to CDB in comment
It's Command Descriptor Block. Also capitalized it. Signed-off-by: Tom Yan <tom.ty89@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
a3e8ab1b46
commit
8554e5e1c7
@ -304,7 +304,7 @@ static void ata_scsi_set_invalid_field(struct ata_device *dev,
|
|||||||
struct scsi_cmnd *cmd, u16 field, u8 bit)
|
struct scsi_cmnd *cmd, u16 field, u8 bit)
|
||||||
{
|
{
|
||||||
ata_scsi_set_sense(dev, cmd, ILLEGAL_REQUEST, 0x24, 0x0);
|
ata_scsi_set_sense(dev, cmd, ILLEGAL_REQUEST, 0x24, 0x0);
|
||||||
/* "Invalid field in cbd" */
|
/* "Invalid field in CDB" */
|
||||||
scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE,
|
scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE,
|
||||||
field, bit, 1);
|
field, bit, 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user