mbox series

[net,v3,0/9] net: Fix MODULE_DESCRIPTION() for net (p5)

Message ID 20240208164244.3818498-1-leitao@debian.org (mailing list archive)
Headers show
Series net: Fix MODULE_DESCRIPTION() for net (p5) | expand

Message

Breno Leitao Feb. 8, 2024, 4:42 p.m. UTC
There are hundreds of network modules that misses MODULE_DESCRIPTION(),
causing a warning when compiling with W=1. Example:

	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_cmp.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_nbyte.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_u32.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_meta.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_text.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_canid.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_tunnel.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ipip.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_gre.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/udp_tunnel.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_vti.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ah4.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/esp4.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/xfrm4_tunnel.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/tunnel4.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_algo.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_user.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/ah6.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/esp6.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/xfrm6_tunnel.o
	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/tunnel6.o

This part5 of the patchset focus on the missing net/ module, which
are now warning free.

Changelog:

v1:
 * https://lore.kernel.org/all/20240205101400.1480521-1-leitao@debian.org/

v2:
 * https://lore.kernel.org/all/20240207101929.484681-1-leitao@debian.org/
 * Remove the patch for the ieee802154 , since the fix is already in
   net-next. See discussion at:
   https://lore.kernel.org/all/ZcDs%2FGFkZ881bJR7@gmail.com/#t

v3:
 * Changed all descriptions of net/sched as suggested by Jamal Hadi
   Salim
 * Changed the description for dsa_loop_bdinfo as suggested by Florian
   Fainelli
 * Changed the description for IPv4 and IPv6 UDP tunnel description as
   suggested by Simon Horman.
 * Added a bunch of Reviewed-by

Breno Leitao (10):
  net: fill in MODULE_DESCRIPTION()s for xfrm
  net: fill in MODULE_DESCRIPTION()s for mpoa
  net: fill in MODULE_DESCRIPTION()s for af_key
  net: fill in MODULE_DESCRIPTION()s for 6LoWPAN
  net: fill in MODULE_DESCRIPTION()s for ipv6 modules
  net: fill in MODULE_DESCRIPTION()s for ipv4 modules
  net: fill in MODULE_DESCRIPTION()s for net/sched
  net: fill in MODULE_DESCRIPTION()s for ieee802154
  net: fill in MODULE_DESCRIPTION()s for ipvtap
  net: fill in MODULE_DESCRIPTION()s for dsa_loop_bdinfo

 drivers/net/dsa/dsa_loop_bdinfo.c | 1 +
 drivers/net/ipvlan/ipvtap.c       | 1 +
 net/6lowpan/core.c                | 1 +
 net/atm/mpc.c                     | 1 +
 net/ieee802154/6lowpan/core.c     | 1 +
 net/ieee802154/socket.c           | 1 +
 net/ipv4/ah4.c                    | 1 +
 net/ipv4/esp4.c                   | 1 +
 net/ipv4/ip_gre.c                 | 1 +
 net/ipv4/ip_tunnel.c              | 1 +
 net/ipv4/ip_vti.c                 | 1 +
 net/ipv4/ipip.c                   | 1 +
 net/ipv4/tunnel4.c                | 1 +
 net/ipv4/udp_tunnel_core.c        | 1 +
 net/ipv4/xfrm4_tunnel.c           | 1 +
 net/ipv6/ah6.c                    | 1 +
 net/ipv6/esp6.c                   | 1 +
 net/ipv6/ip6_udp_tunnel.c         | 1 +
 net/ipv6/mip6.c                   | 1 +
 net/ipv6/sit.c                    | 1 +
 net/ipv6/tunnel6.c                | 1 +
 net/ipv6/xfrm6_tunnel.c           | 1 +
 net/key/af_key.c                  | 1 +
 net/sched/em_canid.c              | 1 +
 net/sched/em_cmp.c                | 1 +
 net/sched/em_meta.c               | 1 +
 net/sched/em_nbyte.c              | 1 +
 net/sched/em_text.c               | 1 +
 net/sched/em_u32.c                | 1 +
 net/xfrm/xfrm_algo.c              | 1 +
 net/xfrm/xfrm_user.c              | 1 +
 31 files changed, 31 insertions(+)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 9, 2024, 10:20 p.m. UTC | #1
Hello:

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

On Thu,  8 Feb 2024 08:42:35 -0800 you wrote:
> There are hundreds of network modules that misses MODULE_DESCRIPTION(),
> causing a warning when compiling with W=1. Example:
> 
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_cmp.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_nbyte.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_u32.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_meta.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_text.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/sched/em_canid.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_tunnel.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ipip.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_gre.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/udp_tunnel.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ip_vti.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/ah4.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/esp4.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/xfrm4_tunnel.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv4/tunnel4.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_algo.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/xfrm/xfrm_user.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/ah6.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/esp6.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/xfrm6_tunnel.o
> 	WARNING: modpost: missing MODULE_DESCRIPTION() in net/ipv6/tunnel6.o
> 
> [...]

Here is the summary with links:
  - [net,v3,1/9] net: fill in MODULE_DESCRIPTION()s for xfrm
    https://git.kernel.org/netdev/net/c/2599bb5e0c74
  - [net,v3,2/9] net: fill in MODULE_DESCRIPTION()s for mpoa
    https://git.kernel.org/netdev/net/c/f73f55b0fcff
  - [net,v3,3/9] net: fill in MODULE_DESCRIPTION()s for af_key
    https://git.kernel.org/netdev/net/c/6e2cf0eb6926
  - [net,v3,4/9] net: fill in MODULE_DESCRIPTION()s for 6LoWPAN
    https://git.kernel.org/netdev/net/c/2898f3075e6a
  - [net,v3,5/9] net: fill in MODULE_DESCRIPTION()s for ipv6 modules
    https://git.kernel.org/netdev/net/c/92ab08eb63bb
  - [net,v3,6/9] net: fill in MODULE_DESCRIPTION()s for ipv4 modules
    https://git.kernel.org/netdev/net/c/b058a5d25d92
  - [net,v3,7/9] net: fill in MODULE_DESCRIPTION()s for net/sched
    https://git.kernel.org/netdev/net/c/a46c31bf2744
  - [net,v3,8/9] net: fill in MODULE_DESCRIPTION()s for ipvtap
    https://git.kernel.org/netdev/net/c/830bd88cc151
  - [net,v3,9/9] net: fill in MODULE_DESCRIPTION()s for dsa_loop_bdinfo
    https://git.kernel.org/netdev/net/c/6034e059f5d3

You are awesome, thank you!