Message ID | 20240213112122.404045-2-leitao@debian.org (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fix MODULE_DESCRIPTION() for net (p6) | expand |
On 13/02/2024 11:21, Breno Leitao wrote: > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Add descriptions to the Xen backend network module. > > Signed-off-by: Breno Leitao <leitao@debian.org> > --- > drivers/net/xen-netback/netback.c | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Paul Durrant <paul@xen.org> > diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c > index fab361a250d6..ef76850d9bcd 100644 > --- a/drivers/net/xen-netback/netback.c > +++ b/drivers/net/xen-netback/netback.c > @@ -1778,5 +1778,6 @@ static void __exit netback_fini(void) > } > module_exit(netback_fini); > > +MODULE_DESCRIPTION("Xen backend network device module"); > MODULE_LICENSE("Dual BSD/GPL"); > MODULE_ALIAS("xen-backend:vif");
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c index fab361a250d6..ef76850d9bcd 100644 --- a/drivers/net/xen-netback/netback.c +++ b/drivers/net/xen-netback/netback.c @@ -1778,5 +1778,6 @@ static void __exit netback_fini(void) } module_exit(netback_fini); +MODULE_DESCRIPTION("Xen backend network device module"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_ALIAS("xen-backend:vif");
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Xen backend network module. Signed-off-by: Breno Leitao <leitao@debian.org> --- drivers/net/xen-netback/netback.c | 1 + 1 file changed, 1 insertion(+)