aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds/tcp.c
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-09-09 09:18:40 +0000
committerJakub Kicinski <[email protected]>2022-09-20 00:58:53 +0000
commitf0bd32c833826ba666c30af0bae78fc5ca598138 (patch)
treeeb78e8e2aa116393913f7021cef505ad8eb24c62 /net/rds/tcp.c
parentrxrpc: remove rxrpc_max_call_lifetime declaration (diff)
downloadkernel-f0bd32c833826ba666c30af0bae78fc5ca598138.tar.gz
kernel-f0bd32c833826ba666c30af0bae78fc5ca598138.zip
net: rds: add missing __init/__exit annotations to module init/exit funcs
Add missing __init/__exit annotations to module init/exit funcs. Signed-off-by: Xiu Jianfeng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/rds/tcp.c')
-rw-r--r--net/rds/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/tcp.c b/net/rds/tcp.c
index 73ee2771093d..d8754366506a 100644
--- a/net/rds/tcp.c
+++ b/net/rds/tcp.c
@@ -712,7 +712,7 @@ static void rds_tcp_exit(void)
}
module_exit(rds_tcp_exit);
-static int rds_tcp_init(void)
+static int __init rds_tcp_init(void)
{
int ret;