Skip to contentSkip to conversation

libata-scsi: correct cbd to CDB in comment

PATCH RESEND Applied [email protected] 2 participants 2 messages Jul 6, 2016 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20160706171309.1772-1-me

#1 lore raw

PATCH RESEND 2/2 libata-scsi: correct cbd to CDB in comment

From: Tom Yan <[email protected]>

It's Command Descriptor Block. Also capitalized it.

drivers/ata/libata-scsi.c +1 -1
index f1125fd..c9cd216 100644
@@ -304,7 +304,7 @@ static void ata_scsi_set_invalid_field(struct ata_device *dev,
 				       struct scsi_cmnd *cmd, u16 field, u8 bit)
 {
 	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,
 				     field, bit, 1);
 }
Signature · 1 line
2.9.0