Message ID | 20240123190332.677489-8-leitao@debian.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 2e87576488552aab742391b6c442beedffd31abe |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | Fix MODULE_DESCRIPTION() for net (p2) | expand |
> -----Original Message----- > From: Breno Leitao <leitao@debian.org> > Sent: 2024年1月24日 3:03 > To: kuba@kernel.org; davem@davemloft.net; pabeni@redhat.com; > edumazet@google.com; Wei Fang <wei.fang@nxp.com>; Shenwei Wang > <shenwei.wang@nxp.com>; Clark Wang <xiaoning.wang@nxp.com>; > dl-linux-imx <linux-imx@nxp.com> > Cc: dsahern@kernel.org; weiwan@google.com; netdev@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [PATCH net v2 07/10] net: fill in MODULE_DESCRIPTION()s for fec > > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Add descriptions to the FEC (MPC8xx) Ethernet controller. > > Signed-off-by: Breno Leitao <leitao@debian.org> > --- > drivers/net/ethernet/freescale/fec_main.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/freescale/fec_main.c > b/drivers/net/ethernet/freescale/fec_main.c > index d42594f32275..4b0259e9269a 100644 > --- a/drivers/net/ethernet/freescale/fec_main.c > +++ b/drivers/net/ethernet/freescale/fec_main.c > @@ -4769,4 +4769,5 @@ static struct platform_driver fec_driver = { > > module_platform_driver(fec_driver); > > +MODULE_DESCRIPTION("NXP Fast Ethernet Controller (FEC) driver"); > MODULE_LICENSE("GPL"); > -- > 2.39.3 Thanks! Reviewed-by: Wei Fang <wei.fang@nxp.com>
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index d42594f32275..4b0259e9269a 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -4769,4 +4769,5 @@ static struct platform_driver fec_driver = { module_platform_driver(fec_driver); +MODULE_DESCRIPTION("NXP Fast Ethernet Controller (FEC) driver"); MODULE_LICENSE("GPL");
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the FEC (MPC8xx) Ethernet controller. Signed-off-by: Breno Leitao <leitao@debian.org> --- drivers/net/ethernet/freescale/fec_main.c | 1 + 1 file changed, 1 insertion(+)