diff options
| author | Randy Dunlap <rdunlap@infradead.org> | 2026-07-30 16:34:29 -0700 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-07-31 11:43:59 +0200 |
| commit | e4632f592cc2d7f948fc62b441ddc75ef74372b3 (patch) | |
| tree | 74ae014f61468e10d7036a8dee4255f427e0ae4d | |
| parent | bc038b8368ce8cb9b04d122869db771a1b674c8e (diff) | |
| download | linux-e4632f592cc2d7f948fc62b441ddc75ef74372b3.tar.gz linux-e4632f592cc2d7f948fc62b441ddc75ef74372b3.zip | |
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 <rdunlap@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20260730233429.285788-6-rdunlap@infradead.org
| -rw-r--r-- | arch/x86/platform/intel-quark/imr_selftest.c | 7 |
1 files changed, 1 insertions, 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); |
