Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp3811510rwn; Sat, 10 Sep 2022 21:49:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR6I4/L1x5Cc7VOi3R1N2gp88I2q7MdSpTbG22Abn+9AvHPjWsrrSksLEeXf19M90qF+G1Cz X-Received: by 2002:a17:902:f08a:b0:176:b477:8be0 with SMTP id p10-20020a170902f08a00b00176b4778be0mr21667789pla.66.1662871795842; Sat, 10 Sep 2022 21:49:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662871795; cv=none; d=google.com; s=arc-20160816; b=mD3wDH7EKGiJ1jDrG2mYWzidMT+3K/4aqCoaRTgYAOY++nOPo/rdpy7hACVg+nD0bv TutvdzL6Z4u3wPyuY7cuumCU8X3WkgosfT+SoRdjFHbIigvc+QzqUBi9Xp8Kq2hjthxd 9Y4XTQifdLgRYqIJWPRZ2mpHDwdjpl3qqQIDqVih9friOlIA0eNUNuzCuEdrgbWbkjny Pgomp3QcnNYlroLQThuxn6wNJQa2dgvXuDdZe18mF+SDYPt/JKEzIwITyCGsYj/yewLp MMLZFCYvhzfSFsxwQdNvlza96u+UPMyAQ8Ix+6jMIez7U27ddFkzprjF+zktEbIl2Bme kJjQ== 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=9xXdLQV9xDQWXFKk3Zn8U1N3tdNY+InURGTelkidBXc=; b=dmAvypKSOjL7qMSFxr91VRwrJAxW6g4+1h1NaTemm2ljortMAfUr2buALO00Du2KgZ 60KMbAcwrhWa85DD3OJxvAAx8/Pjuwt3aupjp9VFnNHipY05FSqfRMsz1QD3HiASeQso oJCpvfBXUVrCG30DIOY7+29/79iNm3Mzo8YCpCnBBWq1JbexpGZulTSAaaRvL0lrgbXo Th6pj1nQIveEEWBLQbelKYsGcvEK3SqzEWoXY5JLY80hgsBUUCWtyzxV5fSmQ4eWAa+9 T127G936ytuP1NWQxK71+OjS8xEiUnytnliCiYPGKTHOAv6CdJ9N+vRNUXCEJ7iywqTK nvXQ== 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 g12-20020a170902934c00b00174ad2f3ce2si4960758plp.226.2022.09.10.21.49.42; Sat, 10 Sep 2022 21:49:55 -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 S229740AbiIKDvW (ORCPT + 99 others); Sat, 10 Sep 2022 23:51:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbiIKDvU (ORCPT ); Sat, 10 Sep 2022 23:51:20 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABA3D286EE for ; Sat, 10 Sep 2022 20:51:19 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MQFzb60dGz14QTq; Sun, 11 Sep 2022 11:47:23 +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; Sun, 11 Sep 2022 11:51:17 +0800 From: Xiu Jianfeng To: , , CC: , Subject: [PATCH] ARM64: reloc_test: add __init/__exit annotations to module init/exit funcs Date: Sun, 11 Sep 2022 11:47:47 +0800 Message-ID: <20220911034747.132098-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: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add missing __init/__exit annotations to module init/exit funcs. Signed-off-by: Xiu Jianfeng --- arch/arm64/kernel/reloc_test_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/reloc_test_core.c b/arch/arm64/kernel/reloc_test_core.c index e87a2b7f20f6..99f2ffe9fc05 100644 --- a/arch/arm64/kernel/reloc_test_core.c +++ b/arch/arm64/kernel/reloc_test_core.c @@ -48,7 +48,7 @@ static struct { { "R_AARCH64_PREL16", relative_data16, (u64)&sym64_rel }, }; -static int reloc_test_init(void) +static int __init reloc_test_init(void) { int i; @@ -67,7 +67,7 @@ static int reloc_test_init(void) return 0; } -static void reloc_test_exit(void) +static void __exit reloc_test_exit(void) { } -- 2.17.1