Skip to contentSkip to conversation

test_firmware: use kernel-doc struct notation

PATCH In review Randy Dunlap 2 participants 2 messages Jan 2, 2023 – Jan 3, 2023 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test_firmware: use kernel-doc struct notation

Add "struct" to the kernel-doc notation to prevent a warning:

lib/test_firmware.c:98: warning: cannot understand function prototype: 'struct test_config '

Cc Luis Chamberlain <[email protected]>
Cc Russ Weight <[email protected]>
Cc Kees Cook <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 lib/test_firmware.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/test_firmware.c +1 -1
diff -- a/lib/test_firmware.c b/lib/test_firmware.c
@@ -50,7 +50,7 @@ struct test_batched_req {
 };
 
 /**
- * test_config - represents configuration for the test for different triggers
+ * struct test_config - represents configuration for the test for different triggers
  *
  * @name: the name of the firmware file to look for
  * @into_buf: when the into_buf is used if this is true
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Randy Dunlap

Add "struct" to the kernel-doc notation to prevent a warning:

lib/test_firmware.c:98: warning: cannot understand function prototype: 'struct test_config '

Cc Luis Chamberlain <[email protected]>
Cc Russ Weight <[email protected]>
Cc Kees Cook <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>

Luis