mbox series

[0/3] net: unexport some symbols that are annotated __init

Message ID 20220606045355.4160711-1-masahiroy@kernel.org (mailing list archive)
Headers show
Series net: unexport some symbols that are annotated __init | expand

Message

Masahiro Yamada June 6, 2022, 4:53 a.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 8, 2022, 5:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon,  6 Jun 2022 13:53:52 +0900 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [1/3] net: mdio: unexport __init-annotated mdio_bus_init()
    https://git.kernel.org/netdev/net/c/35b42dce6197
  - [2/3] net: xfrm: unexport __init-annotated xfrm4_protocol_init()
    https://git.kernel.org/netdev/net/c/4a388f08d878
  - [3/3] net: ipv6: unexport __init-annotated seg6_hmac_init()
    https://git.kernel.org/netdev/net/c/5801f064e351

You are awesome, thank you!