diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-11-18 19:30:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-19 20:09:13 +0000 |
commit | 938dbead34cd139c50c5d51cc58e18ef2f1c3d2c (patch) | |
tree | 6358823900407724dc54b861cc3ab1aa449a415d /net/xdp | |
parent | 5f228d7c8a539714c1e9b7e7534f76bb7979f268 (diff) |
net: fill in MODULE_DESCRIPTION()s for SOCK_DIAG modules
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to all the sock diag modules in one fell swoop.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xdp')
-rw-r--r-- | net/xdp/xsk_diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/xdp/xsk_diag.c b/net/xdp/xsk_diag.c index 22b36c8143cf..9f8955367275 100644 --- a/net/xdp/xsk_diag.c +++ b/net/xdp/xsk_diag.c @@ -211,4 +211,5 @@ static void __exit xsk_diag_exit(void) module_init(xsk_diag_init); module_exit(xsk_diag_exit); MODULE_LICENSE("GPL"); +MODULE_DESCRIPTION("XDP socket monitoring via SOCK_DIAG"); MODULE_ALIAS_NET_PF_PROTO_TYPE(PF_NETLINK, NETLINK_SOCK_DIAG, AF_XDP); |