Skip to contentSkip to conversation

scsi: ufs: scsi_bsg_ufs.h: fix all kernel-doc warnings

PATCH Applied Randy Dunlap 2 participants 3 messages Apr 24, 2024 – May 7, 2024 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: ufs: scsi_bsg_ufs.h: fix all kernel-doc warnings

In struct utp_upiu_query_v4_0, add description for @osf3 and mark the @reserved field as private so that no description is needed for it.

In struct utp_upiu_cmd, use the correct struct member name to eliminate a kernel-doc warning.

Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Cc Alim Akhtar <[email protected]>
Cc Avri Altman <[email protected]>
Cc Bart Van Assche <[email protected]>
---
 include/uapi/scsi/scsi_bsg_ufs.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
include/uapi/scsi/scsi_bsg_ufs.h +3 -1
diff -- a/include/uapi/scsi/scsi_bsg_ufs.h b/include/uapi/scsi/scsi_bsg_ufs.h
@@ -123,6 +123,7 @@ struct utp_upiu_query {
  * @idn: a value that indicates the particular type of data B-1
  * @index: Index to further identify data B-2
  * @selector: Index to further identify data B-3
+ * @osf3: spec field B-4
  * @osf4: spec field B-5
  * @osf5: spec field B 6,7
  * @osf6: spec field DW 8,9
@@ -138,12 +139,13 @@ struct utp_upiu_query_v4_0 {
 	__be16 osf5;
 	__be32 osf6;
 	__be32 osf7;
+	/* private: */
 	__be32 reserved;
 };
 
 /**
  * struct utp_upiu_cmd - Command UPIU structure
- * @data_transfer_len: Data Transfer Length DW-3
+ * @exp_data_transfer_len: Data Transfer Length DW-3
  * @cdb: Command Descriptor Block CDB DW-4 to DW-7
  */
 struct utp_upiu_cmd {
#1 lore raw

Randy,

Quoted 5 lines

In struct utp_upiu_query_v4_0, add description for @osf3 and mark the @reserved field as private so that no description is needed for it.

In struct utp_upiu_cmd, use the correct struct member name to eliminate a kernel-doc warning.

Applied to 6.10/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering
#2 lore raw
In reply to Randy Dunlap
Quoted 8 lines · Randy Dunlap

In struct utp_upiu_query_v4_0, add description for @osf3 and mark the @reserved field as private so that no description is needed for it.

In struct utp_upiu_cmd, use the correct struct member name to eliminate a kernel-doc warning.

[...]

Applied to 6.10/scsi-queue, thanks!

[1/1] scsi: ufs: scsi_bsg_ufs.h: fix all kernel-doc warnings

      https://git.kernel.org/mkp/scsi/c/de37677ef17d
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering