Skip to contentSkip to conversation

ata: libata-scsi: fix ata_msense_control kdoc comment

PATCH Applied Damien Le Moal 4 participants 5 messages May 23, 2023 – Jun 8, 2023

Subsystems (2)
lore
Share & tools
lore

Damien Le Moal

author maintainer
#0 lore raw

PATCH 1/1 ata: libata-scsi: fix ata_msense_control kdoc comment

Add missing description of the spg argument of ata_msense_control().

Fixes df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")
---
 drivers/ata/libata-scsi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/libata-scsi.c +1 -0
index 69fc0d2c2123..40d6703e2d07 100644
@@ -3850,6 +3850,7 @@ static unsigned int ata_mselect_control_ata_feature(struct ata_queued_cmd *qc,
 /**
  *	ata_mselect_control - Simulate MODE SELECT for control page
  *	@qc: Storage for translated ATA taskfile
+ *	@spg: target sub-page of the control page
  *	@buf: input buffer
  *	@len: number of valid bytes in the input buffer
  *	@fp: out parameter for the failed field on error
Signature · 1 line
2.40.1
Reviewed-by on v1 1/1
#2 lore raw
In reply to Damien Le Moal
Quoted 23 lines · Damien Le Moal

Add missing description of the spg argument of ata_msense_control().

Fixes df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")
---
 drivers/ata/libata-scsi.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ata/libata-scsi.c +1 -0
index 69fc0d2c2123..40d6703e2d07 100644
@@ -3850,6 +3850,7 @@ static unsigned int ata_mselect_control_ata_feature(struct ata_queued_cmd *qc,
 /**
  *	ata_mselect_control - Simulate MODE SELECT for control page
  *	@qc: Storage for translated ATA taskfile
+ *	@spg: target sub-page of the control page
  *	@buf: input buffer
  *	@len: number of valid bytes in the input buffer
  *	@fp: out parameter for the failed field on error
Signature · 1 line
2.40.1
#3 lore raw
In reply to Damien Le Moal

Damien,

Quoted 1 line

Add missing description of the spg argument of ata_msense_control().

Applied to 6.5/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering