Skip to content

Commit a4311c2

Browse files
mwajdeczshuahkh
authored andcommitted
kunit: Fix kernel-doc for EXPORT_SYMBOL_IF_KUNIT
While kunit/visibility.h is today not included in any generated kernel documentation, also likely due to the fact that none of the existing comments are correctly recognized as kernel-doc, but once we decide to add this header and fix the tool, there will be: ../include/kunit/visibility.h:61: warning: Function parameter or struct member 'symbol' not described in 'EXPORT_SYMBOL_IF_KUNIT' Signed-off-by: Michal Wajdeczko <[email protected]> Reviewed-by: Rae Moar <[email protected]> Acked-by: David Gow <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 1757cc2 commit a4311c2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/kunit/visibility.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* EXPORTED_FOR_KUNIT_TESTING namespace only if CONFIG_KUNIT is
2323
* enabled. Must use MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING)
2424
* in test file in order to use symbols.
25+
* @symbol: the symbol identifier to export
2526
*/
2627
#define EXPORT_SYMBOL_IF_KUNIT(symbol) EXPORT_SYMBOL_NS(symbol, \
2728
EXPORTED_FOR_KUNIT_TESTING)

0 commit comments

Comments
 (0)