Re: [PATCH net-next] net/smc: fix -Wmissing-prototypes warning when CONFIG_SYSCTL not set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Wed,  9 Mar 2022 11:30:51 +0800 you wrote:
> when CONFIG_SYSCTL not set, smc_sysctl_net_init/exit
> need to be static inline to avoid missing-prototypes
> if compile with W=1.
> 
> Since __net_exit has noinline annotation when CONFIG_NET_NS
> not set, it should not be used with static inline.
> So remove the __net_init/exit when CONFIG_SYSCTL not set.
> 
> [...]

Here is the summary with links:
  - [net-next] net/smc: fix -Wmissing-prototypes warning when CONFIG_SYSCTL not set
    https://git.kernel.org/netdev/net-next/c/d9f509915925

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux