[PATCH 5/5] x86/intel/quark: clean up function kernel-doc

Randy Dunlap <[email protected]> Thu, 30 Jul 2026 16:34:29 -0700
Newsgroups org.kernel.vger.linux-perf-users,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Add a short description for imr_self_test() and drop the comments for
the non-existent imr_self_test_exit() to avoid kernel-doc warnings:

Warning: arch/x86/platform/intel-quark/imr_selftest.c:52 missing initial
 short description on line:
 * imr_self_test
Warning: ../arch/x86/platform/intel-quark/imr_selftest.c:128 function
 parameter 'imr_self_test_init' not described in 'device_initcall'
Warning: ../arch/x86/platform/intel-quark/imr_selftest.c:128 expecting
 prototype for imr_self_test_exit(). Prototype was for device_initcall() instead

Signed-off-by: Randy Dunlap <[email protected]>
---
New patch.

Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]

 arch/x86/platform/intel-quark/imr_selftest.c |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

--- linux-next-20260722.orig/arch/x86/platform/intel-quark/imr_selftest.c
+++ linux-next-20260722/arch/x86/platform/intel-quark/imr_selftest.c
@@ -50,7 +50,7 @@ void __init imr_self_test_result(int res
 #undef SELFTEST
 
 /**
- * imr_self_test
+ * imr_self_test - perform the IMR self-test
  *
  * Verify IMR self_test with some simple tests to verify overlap,
  * zero sized allocations and 1 KiB sized areas.
@@ -121,9 +121,4 @@ static int __init imr_self_test_init(voi
 	return 0;
 }
 
-/**
- * imr_self_test_exit - exit point for IMR code.
- *
- * return:
- */
 device_initcall(imr_self_test_init);