Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp542957rwb; Mon, 26 Sep 2022 02:33:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7z1lRw9yxppeUUt2pua5BpQbM5mwnvGvgjtEYl2seA32pMUVDniUSwCqINKEOesVzvWeq0 X-Received: by 2002:aa7:8759:0:b0:540:aad4:b13e with SMTP id g25-20020aa78759000000b00540aad4b13emr22474438pfo.13.1664184800211; Mon, 26 Sep 2022 02:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664184800; cv=none; d=google.com; s=arc-20160816; b=HZLpPXof5ZO7a7R92j7PRDWu4b1HfsCeXapi97dA6ChyvqAlNmZoO0NyN3W8Z3NXLR 7F186alYPeYVU5kQTpEvuyiWbj0c61VY2qIKgOQ3PO9Kh7er05EVPFp1Eowt+YRSl8af 80Wo0m1hliltcboxqC/9GPfLp3Sx2liiLcpjkzjZFk1LPGySz2LYhTK2cWxoRCOL+lLc V1Brk3T+aiU02aAZAV8HfAmd5y6jlR8nMpd6K/8rPPcsAIaqSxZBPdl0d7qwwzEPELNb kC+wLcdLPYEolnA9fqeaSKBKIVKURYOryzmPyub7F1CCZZvb4bC2g6VfRLOwXuS2BUjB tU8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4u/IZtHRamR4cmDeIBOqTiXSjMDVvNjEqfO+snd2ICw=; b=lzNAOAKD/I/mnoEQOCWl21/hm85v3H0JMU8Iqlm5W8Z1L8q+RA/0OS1p+KVz8vmBre BSZt4b1K2pT0pAyrsH/qYIk3s3aoBFYPEhl6ZsksO705Z2WqkNb7OCn1iZ31Gd/BDHap CJ0ex2jbJFskarS9hj6E85OFY2HPWUL5lk7rdOhcI69ZSlTw7DL7WaR7m2ZIj/MovV/i /6V9PRcEt2p+ObfTwHJmc4a6Jkqa3gcVSOCjrF0MgW+tA+3gNgnROecpxysqrmBURa0m vBY0iD4PlsG9Y7WZFTceF8Aynaowwf6Zvwx9IhQGZ/LYVwQo537B4GVX8b7P3QCk0w89 waiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 iq24-20020a17090afb5800b00205b4b74f86si3520179pjb.90.2022.09.26.02.33.02; Mon, 26 Sep 2022 02:33:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-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 S234243AbiIZJc0 (ORCPT + 99 others); Mon, 26 Sep 2022 05:32:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233807AbiIZJcH (ORCPT ); Mon, 26 Sep 2022 05:32:07 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14E01DF18; Mon, 26 Sep 2022 02:31:02 -0700 (PDT) Received: from kwepemi500008.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MbcpG5f0Wz1P6rp; Mon, 26 Sep 2022 17:26:46 +0800 (CST) Received: from huawei.com (10.67.175.83) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 26 Sep 2022 17:30:59 +0800 From: ruanjinjie To: , , , , , CC: Subject: [PATCH -next] crypto: ccp: Add __init/__exit annotations to module init/exit funcs Date: Mon, 26 Sep 2022 17:27:11 +0800 Message-ID: <20220926092711.1192679-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.175.83] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500008.china.huawei.com (7.221.188.139) 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 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-crypto@vger.kernel.org Add missing __init/__exit annotations to module init/exit funcs Signed-off-by: ruanjinjie --- drivers/crypto/ccp/ccp-crypto-main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ccp/ccp-crypto-main.c b/drivers/crypto/ccp/ccp-crypto-main.c index 5976530c00a8..332181027305 100644 --- a/drivers/crypto/ccp/ccp-crypto-main.c +++ b/drivers/crypto/ccp/ccp-crypto-main.c @@ -400,7 +400,7 @@ static void ccp_unregister_algs(void) } } -static int ccp_crypto_init(void) +static int __init ccp_crypto_init(void) { int ret; @@ -421,7 +421,7 @@ static int ccp_crypto_init(void) return ret; } -static void ccp_crypto_exit(void) +static void __exit ccp_crypto_exit(void) { ccp_unregister_algs(); } -- 2.25.1