[PATCH net v2 0/9] net: Fix MODULE_DESCRIPTION() for net (p5)

Breno Leitao
2024-02-07T10:19:39Z

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.

Here are all the MODULE_DESCRIPTION added:

MODULE_DESCRIPTION("CAN Identifier comparison network helpers");
MODULE_DESCRIPTION("DSA loopback fixed PHY library");
MODULE_DESCRIPTION("IP-in-IPv6 tunnel driver");
MODULE_DESCRIPTION("IP/IP protocol decoder library");
MODULE_DESCRIPTION("IPv4 AH transformation library");
MODULE_DESCRIPTION("IPv4 ESP transformation library");
MODULE_DESCRIPTION("IPv4 GRE tunnels over IP library");
MODULE_DESCRIPTION("IPv4 tunnel implementation library");
MODULE_DESCRIPTION("IPv4 UDP tunnel driver");
MODULE_DESCRIPTION("IPv4 XFRM tunnel driver");
MODULE_DESCRIPTION("IPv4 XFRM tunnel library");
MODULE_DESCRIPTION("IPv6 AH transformation helpers");
MODULE_DESCRIPTION("IPv6 ESP transformation helpers");
MODULE_DESCRIPTION("IPv6-in-IPv4 tunnel SIT driver");
MODULE_DESCRIPTION("IPv6 Mobility driver");
MODULE_DESCRIPTION("IPv6 over Low-Power Wireless Personal Area Network core module");
MODULE_DESCRIPTION("IPv6 UDP tunnel driver");
MODULE_DESCRIPTION("IPv6 XFRM tunnel driver");
MODULE_DESCRIPTION("IP-VLAN based tap driver");
MODULE_DESCRIPTION("Metadata comparison network helpers");
MODULE_DESCRIPTION("Multi byte comparison network helpers");
MODULE_DESCRIPTION("Multi-Protocol Over ATM (MPOA) driver");
MODULE_DESCRIPTION("PF_KEY socket helpers");
MODULE_DESCRIPTION("Simple packet data comparison network helpers");
MODULE_DESCRIPTION("Textsearch comparison network helpers");
MODULE_DESCRIPTION("U32 Key comparison network helpers");
MODULE_DESCRIPTION("Virtual (secure) IP tunneling library");
MODULE_DESCRIPTION("XFRM Algorithm interface");
MODULE_DESCRIPTION("XFRM User interface");

Changelog:

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

v2:
* 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

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(+)

--
2.39.3

Breno Leitao (9):
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 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/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 +
29 files changed, 29 insertions(+)

--
2.39.3