[PATCH 5/5] x86/intel/quark: clean up function kernel-doc
From: Randy Dunlap
Date: Thu Jul 30 2026 - 19:38:48 EST
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 <rdunlap@xxxxxxxxxxxxx>
---
New patch.
Cc: Thomas Gleixner <tglx@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: Borislav Petkov <bp@xxxxxxxxx>
Cc: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Cc: x86@xxxxxxxxxx
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);