Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4220379rwb; Tue, 6 Sep 2022 04:35:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR4/bTeCFD63xc4B7IuC8e9KMnpcq/pclxPfXj1ctVHBkrShONzJ+YDMFCZBNtSufXRVqyo9 X-Received: by 2002:a17:907:75eb:b0:76f:927e:d0e4 with SMTP id jz11-20020a17090775eb00b0076f927ed0e4mr898018ejc.225.1662464123908; Tue, 06 Sep 2022 04:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662464123; cv=none; d=google.com; s=arc-20160816; b=Gpbsta9E6cuRuxQCeoNBRX8sJcD8urgm3L3punW392aoCCfvZaLAy4tK/7FO3qUf6j Wb4EHQsnAZtstcIDSMffAiBCohayzHGIhbizFRW4L6WtXQrOhdJ4qWkFrZRuIbvFdpWI kP1AjHJSldscikDxMcbToWi4Kt3iZ5nONr7lnJCU3HpmaoVKeoLdm2d3MEWmxiACDyIV 8RLnFIyPo7iBswyy3ZC3kocLZxjj20a+bVuM2DhJ1F77JQQOJd5wtME2j1Aj7v2wruzG 3X8scg4dvJyJon7ZHWAVmc/E7MmHIuK987u0musU4Z1IgZEH4RXwxBpi9D7R/57XXKWa TGpw== 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=7hlNAX85TjBb6j/DVqObxcI6LV8QW96Aab18tgfG2ew=; b=nJ0I++DFvHfLFx1CYrpnMtcZxq4laqgCNlt36A5GrYU5+Zslp/xXo11NLSq84saXLi KDaCfhivpWT89WJIYmh9n6fbQVOOBBI9aOSHZRZBEYIsXh+M68mssFLHQ8CQb0jFj7CB 815xb5rzy61EkkMtmzMX+I8YFDsCsJrgjuhjw2NKmJevEbu8jP8AOPSOWuhDsfMv7M5a trYexODYfj+cIeqtAT5JFBlz48qXl8H2mGhjG1s8THTMu6gvkbvCKDTEo8JdqPEEIWBc N5eu3soqRwBwbuwuksYa0TPf9glpQMzA22M5aUlTGypV+jxL4JOFTmENYeu1jt5unU0d VPqQ== 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 r9-20020a05640251c900b0044ab2ba4d09si2073064edd.231.2022.09.06.04.34.58; Tue, 06 Sep 2022 04:35:23 -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 S239583AbiIFLWY (ORCPT + 99 others); Tue, 6 Sep 2022 07:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239559AbiIFLWP (ORCPT ); Tue, 6 Sep 2022 07:22:15 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E0B033E31 for ; Tue, 6 Sep 2022 04:22:12 -0700 (PDT) Received: from dggpeml500023.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4MMNDH3GSGz1P6j7; Tue, 6 Sep 2022 19:18: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.24; Tue, 6 Sep 2022 19:22:10 +0800 From: Xiu Jianfeng To: , , CC: Subject: [PATCH -next] rv/reactor: add __init/__exit annotations to module init/exit funcs Date: Tue, 6 Sep 2022 19:18:46 +0800 Message-ID: <20220906111846.58738-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 --- kernel/trace/rv/reactor_panic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/rv/reactor_panic.c b/kernel/trace/rv/reactor_panic.c index b698d05dd069..d65f6c25a87c 100644 --- a/kernel/trace/rv/reactor_panic.c +++ b/kernel/trace/rv/reactor_panic.c @@ -24,13 +24,13 @@ static struct rv_reactor rv_panic = { .react = rv_panic_reaction }; -static int register_react_panic(void) +static int __init register_react_panic(void) { rv_register_reactor(&rv_panic); return 0; } -static void unregister_react_panic(void) +static void __exit unregister_react_panic(void) { rv_unregister_reactor(&rv_panic); } -- 2.17.1