Message ID | 20240125193420.533604-11-leitao@debian.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d06aa0eb0a7052b580fc06c16e30e5df872d4b7c |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fix MODULE_DESCRIPTION() for net (p3) | expand |
On Thu, Jan 25, 2024 at 11:34:20AM -0800, Breno Leitao wrote: > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Add descriptions to arcnet module. > > Signed-off-by: Breno Leitao <leitao@debian.org> Reviewed-by: Simon Horman <horms@kernel.org>
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c index d9e052c49ba1..166bfc3c8e6c 100644 --- a/drivers/net/arcnet/arcnet.c +++ b/drivers/net/arcnet/arcnet.c @@ -108,6 +108,7 @@ static int go_tx(struct net_device *dev); static int debug = ARCNET_DEBUG; module_param(debug, int, 0); +MODULE_DESCRIPTION("ARCnet core driver"); MODULE_LICENSE("GPL"); static int __init arcnet_init(void)
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to arcnet module. Signed-off-by: Breno Leitao <leitao@debian.org> --- drivers/net/arcnet/arcnet.c | 1 + 1 file changed, 1 insertion(+)