Message ID | 20220911084241.196091-1-xiujianfeng@huawei.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | powerpc: pseries: add __init/__exit annotations to module init/exit funcs | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/github-powerpc_ppctests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_selftests | success | Successfully ran 10 jobs. |
snowpatch_ozlabs/github-powerpc_clang | success | Successfully ran 6 jobs. |
snowpatch_ozlabs/github-powerpc_sparse | success | Successfully ran 4 jobs. |
snowpatch_ozlabs/github-powerpc_kernel_qemu | success | Successfully ran 23 jobs. |
diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c index 5f4037c1d7fe..3c56c5cb0fa9 100644 --- a/arch/powerpc/platforms/pseries/cmm.c +++ b/arch/powerpc/platforms/pseries/cmm.c @@ -565,7 +565,7 @@ static void cmm_balloon_compaction_init(void) * Return value: * 0 on success / other on failure **/ -static int cmm_init(void) +static int __init cmm_init(void) { int rc; @@ -615,7 +615,7 @@ static int cmm_init(void) * Return value: * nothing **/ -static void cmm_exit(void) +static void __exit cmm_exit(void) { if (cmm_thread_ptr) kthread_stop(cmm_thread_ptr);
Add missing __init/__exit annotations to module init/exit funcs. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> --- arch/powerpc/platforms/pseries/cmm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)