From e4632f592cc2d7f948fc62b441ddc75ef74372b3 Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Thu, 30 Jul 2026 16:34:29 -0700 Subject: [PATCH] x86/intel/quark: Clean up function kernel-doc 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 Signed-off-by: Ingo Molnar Link: https://patch.msgid.link/20260730233429.285788-6-rdunlap@infradead.org --- arch/x86/platform/intel-quark/imr_selftest.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/x86/platform/intel-quark/imr_selftest.c b/arch/x86/platform/intel-quark/imr_selftest.c index 657925b0f428..54c3498c78d7 100644 --- a/arch/x86/platform/intel-quark/imr_selftest.c +++ b/arch/x86/platform/intel-quark/imr_selftest.c @@ -50,7 +50,7 @@ void __init imr_self_test_result(int res, const char *fmt, ...) #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(void) return 0; } -/** - * imr_self_test_exit - exit point for IMR code. - * - * return: - */ device_initcall(imr_self_test_init);