From nobody Wed Sep 3 01:54:01 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7AE7C38145 for ; Fri, 2 Sep 2022 12:32:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236568AbiIBMcG (ORCPT ); Fri, 2 Sep 2022 08:32:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236533AbiIBMbN (ORCPT ); Fri, 2 Sep 2022 08:31:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BB66DB047; Fri, 2 Sep 2022 05:26:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EC1146215B; Fri, 2 Sep 2022 12:24:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2537C433C1; Fri, 2 Sep 2022 12:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1662121454; bh=c38qPjBlwIU12u9Uk9yjYbiD99ZrXmEcOmC9gitduTY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VcRQF5KKekYNNvIcV0Rs6pNr4HoORtluqhNcMw3DEfRe7HLCEg4a/hMkpTDadPz4s nmqFnBpIyYJytgvTfcRF+wP4CShoTbOceqAalHgQbmfGzZaUwL1+pd3KOvaHjjCHRk o3czDyteucpyOl1+F4XHslMhg5joMV0UL0Wo8PxQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mahesh Bandewar , Sainath Grandhi , =?UTF-8?q?Maciej=20=C5=BBenczykowski?= , Paolo Abeni , Sasha Levin Subject: [PATCH 4.19 13/56] net: ipvtap - add __init/__exit annotations to module init/exit funcs Date: Fri, 2 Sep 2022 14:18:33 +0200 Message-Id: <20220902121400.633843066@linuxfoundation.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220902121400.219861128@linuxfoundation.org> References: <20220902121400.219861128@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maciej =C5=BBenczykowski [ Upstream commit 4b2e3a17e9f279325712b79fb01d1493f9e3e005 ] Looks to have been left out in an oversight. Cc: Mahesh Bandewar Cc: Sainath Grandhi Fixes: 235a9d89da97 ('ipvtap: IP-VLAN based tap driver') Signed-off-by: Maciej =C5=BBenczykowski Link: https://lore.kernel.org/r/20220821130808.12143-1-zenczykowski@gmail.c= om Signed-off-by: Paolo Abeni Signed-off-by: Sasha Levin --- drivers/net/ipvlan/ipvtap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ipvlan/ipvtap.c b/drivers/net/ipvlan/ipvtap.c index 0bcc07f346c3e..2e517e30c5ac1 100644 --- a/drivers/net/ipvlan/ipvtap.c +++ b/drivers/net/ipvlan/ipvtap.c @@ -193,7 +193,7 @@ static struct notifier_block ipvtap_notifier_block __re= ad_mostly =3D { .notifier_call =3D ipvtap_device_event, }; =20 -static int ipvtap_init(void) +static int __init ipvtap_init(void) { int err; =20 @@ -227,7 +227,7 @@ static int ipvtap_init(void) } module_init(ipvtap_init); =20 -static void ipvtap_exit(void) +static void __exit ipvtap_exit(void) { rtnl_link_unregister(&ipvtap_link_ops); unregister_netdevice_notifier(&ipvtap_notifier_block); --=20 2.35.1