Skip to contentSkip to conversation

scsi: elx: libefc_sli: use "/*" for non-kernel-doc comment

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 17, 2023 – Jan 24, 2023

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

PATCH 1/1 scsi: elx: libefc_sli: use "/*" for non-kernel-doc comment

Don't use "/**" to begin non-kernel-doc comments. Prevent a kernel-doc warning:

drivers/scsi/elx/libefc_sli/sli4.c:13: warning: cannot understand function prototype: 'struct sli4_asic_entry_t sli4_asic_table[] = '

Cc James Smart <[email protected]>
Cc Ram Vegesna <[email protected]>
Cc "James E.J. Bottomley" <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
---
 drivers/scsi/elx/libefc_sli/sli4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/elx/libefc_sli/sli4.c +1 -1
diff -- a/drivers/scsi/elx/libefc_sli/sli4.c b/drivers/scsi/elx/libefc_sli/sli4.c
@@ -4,7 +4,7 @@
  * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
  */
 
-/**
+/*
  * All common (i.e. transport-independent) SLI-4 functions are implemented
  * in this file.
  */
#1 lore raw

Randy,

Quoted 4 lines

Don't use "/**" to begin non-kernel-doc comments.
Prevent a kernel-doc warning:

drivers/scsi/elx/libefc_sli/sli4.c:13: warning: cannot understand function prototype: 'struct sli4_asic_entry_t sli4_asic_table[] = '

Applied to 6.3/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering