Commit d8610e43 authored by Breno Leitao's avatar Breno Leitao Committed by Jakub Kicinski

net: fill in MODULE_DESCRIPTION()s for Sun RPC

W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to Sun RPC modules.
Signed-off-by: default avatarBreno Leitao <leitao@debian.org>
Reviewed-by: default avatarJeff Layton <jlayton@kernel.org>
Link: https://lore.kernel.org/r/20240108181610.2697017-6-leitao@debian.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 95c236cc
...@@ -2280,6 +2280,7 @@ static void __exit exit_rpcsec_gss(void) ...@@ -2280,6 +2280,7 @@ static void __exit exit_rpcsec_gss(void)
} }
MODULE_ALIAS("rpc-auth-6"); MODULE_ALIAS("rpc-auth-6");
MODULE_DESCRIPTION("Sun RPC Kerberos RPCSEC_GSS client authentication");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_param_named(expired_cred_retry_delay, module_param_named(expired_cred_retry_delay,
gss_expired_cred_retry_delay, gss_expired_cred_retry_delay,
......
...@@ -650,6 +650,7 @@ static void __exit cleanup_kerberos_module(void) ...@@ -650,6 +650,7 @@ static void __exit cleanup_kerberos_module(void)
gss_mech_unregister(&gss_kerberos_mech); gss_mech_unregister(&gss_kerberos_mech);
} }
MODULE_DESCRIPTION("Sun RPC Kerberos 5 module");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_init(init_kerberos_module); module_init(init_kerberos_module);
module_exit(cleanup_kerberos_module); module_exit(cleanup_kerberos_module);
...@@ -148,6 +148,7 @@ cleanup_sunrpc(void) ...@@ -148,6 +148,7 @@ cleanup_sunrpc(void)
#endif #endif
rcu_barrier(); /* Wait for completion of call_rcu()'s */ rcu_barrier(); /* Wait for completion of call_rcu()'s */
} }
MODULE_DESCRIPTION("Sun RPC core");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */ fs_initcall(init_sunrpc); /* Ensure we're initialised before nfs */
module_exit(cleanup_sunrpc); module_exit(cleanup_sunrpc);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment