Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp175883rwn; Wed, 14 Sep 2022 18:23:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6CmzkyurOzG13usIhFKVSglv/LQOO5kgSiPnSFGPBN7CJY6akatW6fYc8tZa7pO9gD2PZi X-Received: by 2002:a17:902:ce12:b0:172:dc6e:18f6 with SMTP id k18-20020a170902ce1200b00172dc6e18f6mr1847237plg.34.1663205025340; Wed, 14 Sep 2022 18:23:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663205025; cv=none; d=google.com; s=arc-20160816; b=cWNKpBCAI6GOqj0tkFyTBeyGkg7v6v5Kg46bhS9zqmee/iVDbsRWIsTGsfUMD9gKXD jAo+i1YlcMBt/+5T88j9G27V8j2RQIgisuVhiQxgpZpfWEhpL7xOBZB9LnQ/FCTr1iaI IBdlxz9GgMV/WP9e6Ca4bgkhwY4gl/UJ10olvxgpmZSc8m8cqWhOPtE5kcISdrSaimcD +vkzU0QRTM96H22NX7ooc8FTZBCBxXEPkKF7571gQ/L/ZJL8YkFTXdZiw/u1S63poApy GsqK073DpEHS7Rb2H1M7+d13/oxJN/I8TTuloniH5Gb+sC3UMKVV9ddQ2R+4ELEtbsIc Zo6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=Ij/8z9VtxbcihdO8wJxpeeVsnIJqmU/VCSN8rTxKXOI=; b=hfwxSVezb1wy2qqqu66m014LGPiMoG1BuS6aaqnNPepMtXbVSGvbHN1jk5qBIMgBEN LLYbnYE3jFhJyGM4+MoyXXVpWeblhs/Clm/wJBBu+QzZGflkY+YrgDIsH0ubRs1aU/Dw bfqwt1C5HyvyH7r8cMVVH5pTSazTPhDqQ7bB5WFvTi8Fqxp5YDnARBizCGUJuaXXGUJq w0xe7U3nSOayqdVlKnoG8gix4x7VN3pGreyfQy3oJdDDjMoxod/+ENjFmM3j1ZwmdT9b TWiUpTzOx9zAtPZUAGnx+DVbY1heQ1mXZAFEv4d3yJv+KhQPd98dUxu6/sGHfXgacuG4 e9Fg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a63d304000000b003fea0415b5asi15586907pgg.834.2022.09.14.18.23.32; Wed, 14 Sep 2022 18:23:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbiIOBTn (ORCPT + 99 others); Wed, 14 Sep 2022 21:19:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229930AbiIOBTk (ORCPT ); Wed, 14 Sep 2022 21:19:40 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CFF7DFE0 for ; Wed, 14 Sep 2022 18:19:37 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MSfPv0yqvzNm6s; Thu, 15 Sep 2022 09:14:59 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.58) by dggpeml500023.china.huawei.com (7.185.36.114) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 15 Sep 2022 09:19:35 +0800 From: Xiu Jianfeng To: CC: , Subject: [PATCH] mm/secretmem: add __init annotation to secretmem_init() Date: Thu, 15 Sep 2022 09:16:02 +0800 Message-ID: <20220915011602.176967-1-xiujianfeng@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.58] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpeml500023.china.huawei.com (7.185.36.114) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's a fs_initcall entry, add __init annotation to it. Signed-off-by: Xiu Jianfeng --- mm/secretmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/secretmem.c b/mm/secretmem.c index 3f7154099795..6a44efb673b2 100644 --- a/mm/secretmem.c +++ b/mm/secretmem.c @@ -276,7 +276,7 @@ static struct file_system_type secretmem_fs = { .kill_sb = kill_anon_super, }; -static int secretmem_init(void) +static int __init secretmem_init(void) { int ret = 0; -- 2.17.1