From patchwork Mon Jun 6 04:53:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 12869974 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 9B1F2CCA473 for ; Mon, 6 Jun 2022 05:27:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229557AbiFFF1R (ORCPT ); Mon, 6 Jun 2022 01:27:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229596AbiFFF1P (ORCPT ); Mon, 6 Jun 2022 01:27:15 -0400 Received: from condef-04.nifty.com (condef-04.nifty.com [202.248.20.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AE7110F35E; Sun, 5 Jun 2022 22:05:24 -0700 (PDT) Received: from conuserg-10.nifty.com ([10.126.8.73])by condef-04.nifty.com with ESMTP id 2564uDGo012764; Mon, 6 Jun 2022 13:56:33 +0900 Received: from grover.sesame (133-32-177-133.west.xps.vectant.ne.jp [133.32.177.133]) (authenticated) by conuserg-10.nifty.com with ESMTP id 2564rxU8026256; Mon, 6 Jun 2022 13:54:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com 2564rxU8026256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1654491241; bh=9wnl63tAeNHwFnP9ncmY25Nut3frLpWSI46zwtOP0Gg=; h=From:To:Cc:Subject:Date:From; b=kYYPHvlD0X+P6H+J2qC9NTxd5enM1Nom4JAHumhi1Qj0lLzEl9ifpikstjYm6qFuh D0mOZ8VvKfjngpaYanARXXRGAVIUb0kp/SzICcGQZxHM8AN/QdmHwUWGlld9wcEsCH nvLtGOr5Pb+kn74/O44lzE6s77jscca4tFZbCui8oAbg4+EQB7LdhKUN9oTuQvK/Z4 1SXTjlHojbJT7x2/SnTka9WWTJx8V+x8XEE8EhFxmJjILC3/oPS5pEyRKSdIx+hQ/c fYZ4nhvCeqHkYWJe7FhAtNGTbyHrpagQUdDvArNQtieuAW5ElcETuGJrfjpmDSHvnq DqMeJu2Dln0ZQ== X-Nifty-SrcIP: [133.32.177.133] From: Masahiro Yamada To: "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org Cc: Eric Dumazet , Paolo Abeni , Masahiro Yamada , Andrew Lunn , David Ahern , David Lebrun , Florian Fainelli , Heiner Kallweit , Herbert Xu , Hideaki YOSHIFUJI , Russell King , Steffen Klassert , linux-kernel@vger.kernel.org Subject: [PATCH 0/3] net: unexport some symbols that are annotated __init Date: Mon, 6 Jun 2022 13:53:52 +0900 Message-Id: <20220606045355.4160711-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch set fixes odd combinations of EXPORT_SYMBOL and __init. Checking this in modpost is a good thing and I really wanted to do it, but Linus Torvalds imposes a very strict rule, "No new warning". I'd like the maintainer to kindly pick this up and send a fixes pull request. Unless I eliminate all the sites of warnings beforehand, Linus refuses to re-enable the modpost check.   [1] [1]: https://lore.kernel.org/linux-kbuild/CAK7LNATmd0bigp7HQ4fTzHw5ugZMkSb3UXG7L4fxpGbqkRKESA@mail.gmail.com/T/#m5e50cc2da17491ba210c72b5efdbc0ce76e0217f Masahiro Yamada (3): net: mdio: unexport __init-annotated mdio_bus_init() net: xfrm: unexport __init-annotated xfrm4_protocol_init() net: ipv6: unexport __init-annotated seg6_hmac_init() drivers/net/phy/mdio_bus.c | 1 - net/ipv4/xfrm4_protocol.c | 1 - net/ipv6/seg6_hmac.c | 1 - 3 files changed, 3 deletions(-)