Skip to contentSkip to conversation

linux-next: build warning after merge of the scsi-mkp tree

DISCUSSION Stephen Rothwell 2 participants 3 messages May 23, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the scsi-mkp tree, today's linux-next build (htmldocs) produced this warning:

drivers/ata/libata-scsi.c:3864: warning: Function parameter or member 'spg' not described in 'ata_mselect_control'

Introduced by commit

df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the scsi-mkp tree, today's linux-next build (htmldocs) produced this warning:

drivers/ata/libata-scsi.c:3864: warning: Function parameter or member 'spg' not described in 'ata_mselect_control'

Introduced by commit

df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")

Martin,

This is missing:

drivers/ata/libata-scsi.c +0 -0
index 69fc0d2c2123..c676b1e9b6c9 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: 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

Do you want me to send a fix patch or can you fold this in ?

Signature · 2 lines
Damien Le Moal
Western Digital Research
maintainer
#2 lore raw
In reply to Stephen Rothwell
Quoted 11 lines · Stephen Rothwell

Hi all,

After merging the scsi-mkp tree, today's linux-next build (htmldocs) produced this warning:

drivers/ata/libata-scsi.c:3864: warning: Function parameter or member 'spg' not described in 'ata_mselect_control'

Introduced by commit

df60f9c64576 ("scsi: ata: libata: Add ATA feature control sub-page translation")

Martin,

To make things simpler, I posted a small patch to fix this. Please feel free to fold it in df60f9c64576. Thanks !

Signature · 2 lines
Damien Le Moal
Western Digital Research