From patchwork Sun Aug 21 13:08:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Maciej_=C5=BBenczykowski?= X-Patchwork-Id: 12949901 X-Patchwork-Delegate: kuba@kernel.org 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 3A831C00140 for ; Sun, 21 Aug 2022 13:08:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229446AbiHUNIe (ORCPT ); Sun, 21 Aug 2022 09:08:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiHUNId (ORCPT ); Sun, 21 Aug 2022 09:08:33 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C165BDF0A for ; Sun, 21 Aug 2022 06:08:28 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id f21so8573735pjt.2 for ; Sun, 21 Aug 2022 06:08:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=n40RLmCcm4YO06nHYuTL/t8Zat/kRcECAIm9wpSC+aE=; b=aPjx7MJt9nBG63sWVvC14p0FVF8bhBSMIYBrVz94WoG715/DTk4CBc2w6679qyIXQW 3v2ZPWITyWnhHAVEdrmahIZ7M4AOSdXB7pRh8vh/mKvR0VomvKhkTX/sajotUXmbI97W 9lCqe/Z6QHm/JYwtyrSB3InUjomT4V0gelQHAdxYL7w7ugdTLtwvhaotfzk2vExO9iuS gmC0Lclz84+pHsdivYK6JF7zVixXcEIw3van4+xlNyUUIICnGMdhPKU4DD9NuvHVUrWn pWY0qBytBsZveVZ5A5rcqY43QMpfUaOPA0nhwNKVYtZyeXKD7OsHlypWKS1W2KcOGjYQ VRyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=n40RLmCcm4YO06nHYuTL/t8Zat/kRcECAIm9wpSC+aE=; b=jT2dyDkblTLEQkR3K4D+NTTlULoPeEMXiVR6W6jRmBlvOZema4IA0CR/p72aQp7eat bnnl4TZBLLYR4T5ki/WKQze73jE17K8fPEulTk4TN+lnsw2ap2z6ANkNH+Iat16bHFcq SdU6NMMEQorv5p3sW2fyf+44/HNWci9Q7Ry+1a+c3Ng61F1BMl+CdxsXTsh3KtE4SXV2 a9BUk0pHYnjuzpwQKDkfIzlKA7BPzvgo25sG5oFzELJtTuKGIgxTtFyzJWvazDIwOo7w ArZdyBAUmIE5HdxsjUd4CqidDWGcjDxh2HvqFXlw0JdujV2wpYG8IR9PIpevNtGE4/Ei pt+g== X-Gm-Message-State: ACgBeo0e64osMEPy49odL4KKhPBhFmaq6TIrH/fxYWRt3/ovFnPJJSm4 n/UvPkC/Ph32RNo/6YPyCuY= X-Google-Smtp-Source: AA6agR7oaEqtWhYoZELu/6VXuJSEFNppM6G7ZFNaVVxl55TL7d39E45oCWiG/X14n9+l++pt5Atdqg== X-Received: by 2002:a17:903:2d0:b0:172:b63b:3a1e with SMTP id s16-20020a17090302d000b00172b63b3a1emr14903634plk.76.1661087308104; Sun, 21 Aug 2022 06:08:28 -0700 (PDT) Received: from athina.mtv.corp.google.com ([2620:15c:211:200:6287:c054:b39c:dc2a]) by smtp.gmail.com with ESMTPSA id k6-20020a170902ce0600b00172951ddb12sm6436460plg.42.2022.08.21.06.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Aug 2022 06:08:26 -0700 (PDT) From: =?utf-8?q?Maciej_=C5=BBenczykowski?= To: =?utf-8?q?Maciej_=C5=BBenczykowski?= Cc: Linux Network Development Mailing List , Mahesh Bandewar , Sainath Grandhi Subject: [PATCH] net: ipvtap - add __init/__exit annotations to module init/exit funcs Date: Sun, 21 Aug 2022 06:08:08 -0700 Message-Id: <20220821130808.12143-1-zenczykowski@gmail.com> X-Mailer: git-send-email 2.37.1.595.g718a3a8f04-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Maciej Żenczykowski 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 Żenczykowski --- 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 ef02f2cf5ce1..cbabca167a07 100644 --- a/drivers/net/ipvlan/ipvtap.c +++ b/drivers/net/ipvlan/ipvtap.c @@ -194,7 +194,7 @@ static struct notifier_block ipvtap_notifier_block __read_mostly = { .notifier_call = ipvtap_device_event, }; -static int ipvtap_init(void) +static int __init ipvtap_init(void) { int err; @@ -228,7 +228,7 @@ static int ipvtap_init(void) } module_init(ipvtap_init); -static void ipvtap_exit(void) +static void __exit ipvtap_exit(void) { rtnl_link_unregister(&ipvtap_link_ops); unregister_netdevice_notifier(&ipvtap_notifier_block);