mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2024-12-28 16:52:18 +00:00
net: fill in MODULE_DESCRIPTION()s for DSA tags
W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to all the DSA tag modules. The descriptions are copy/pasted Kconfig names, with s/^Tag/DSA tag/. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Acked-by: Arun Ramadoss <arun.ramadoss@microchip.com> Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com> Acked-by: Kurt Kanzenbach <kurt@linutronix.de> Link: https://lore.kernel.org/r/20240104143759.1318137-1-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
fc0caed81b
commit
0ed6e95255
@ -89,6 +89,7 @@ static const struct dsa_device_ops ar9331_netdev_ops = {
|
||||
.needed_headroom = AR9331_HDR_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Atheros AR9331 SoC with built-in switch");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_AR9331, AR9331_NAME);
|
||||
module_dsa_tag_driver(ar9331_netdev_ops);
|
||||
|
@ -335,4 +335,5 @@ static struct dsa_tag_driver *dsa_tag_driver_array[] = {
|
||||
|
||||
module_dsa_tag_drivers(dsa_tag_driver_array);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Broadcom switches using in-frame headers");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -406,4 +406,5 @@ static struct dsa_tag_driver *dsa_tag_drivers[] = {
|
||||
|
||||
module_dsa_tag_drivers(dsa_tag_drivers);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Marvell switches using DSA headers");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -107,6 +107,7 @@ static const struct dsa_device_ops gswip_netdev_ops = {
|
||||
.needed_headroom = GSWIP_RX_HEADER_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Lantiq / Intel GSWIP switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_GSWIP, GSWIP_NAME);
|
||||
|
||||
|
@ -67,6 +67,7 @@ static const struct dsa_device_ops hellcreek_netdev_ops = {
|
||||
.needed_tailroom = HELLCREEK_TAG_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Hirschmann Hellcreek TSN switches");
|
||||
MODULE_LICENSE("Dual MIT/GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_HELLCREEK, HELLCREEK_NAME);
|
||||
|
||||
|
@ -459,4 +459,5 @@ static struct dsa_tag_driver *dsa_tag_driver_array[] = {
|
||||
|
||||
module_dsa_tag_drivers(dsa_tag_driver_array);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Microchip 8795/937x/9477/9893 families of switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -119,6 +119,7 @@ static const struct dsa_device_ops lan9303_netdev_ops = {
|
||||
.needed_headroom = LAN9303_TAG_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for SMSC/Microchip LAN9303 family of switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_LAN9303, LAN9303_NAME);
|
||||
|
||||
|
@ -102,6 +102,7 @@ static const struct dsa_device_ops mtk_netdev_ops = {
|
||||
.needed_headroom = MTK_HDR_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Mediatek switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_MTK, MTK_NAME);
|
||||
|
||||
|
@ -27,4 +27,5 @@ static const struct dsa_device_ops none_ops = {
|
||||
|
||||
module_dsa_tag_driver(none_ops);
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_NONE, NONE_NAME);
|
||||
MODULE_DESCRIPTION("DSA no-op tag driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -217,4 +217,5 @@ static struct dsa_tag_driver *ocelot_tag_driver_array[] = {
|
||||
|
||||
module_dsa_tag_drivers(ocelot_tag_driver_array);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Ocelot family of switches, using NPI port");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -133,6 +133,7 @@ static const struct dsa_device_ops ocelot_8021q_netdev_ops = {
|
||||
.promisc_on_conduit = true,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Ocelot family of switches, using VLAN");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_OCELOT_8021Q, OCELOT_8021Q_NAME);
|
||||
|
||||
|
@ -119,6 +119,7 @@ static const struct dsa_device_ops qca_netdev_ops = {
|
||||
.promisc_on_conduit = true,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Qualcomm Atheros QCA8K switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_QCA, QCA_NAME);
|
||||
|
||||
|
@ -121,5 +121,6 @@ static const struct dsa_device_ops rtl4a_netdev_ops = {
|
||||
};
|
||||
module_dsa_tag_driver(rtl4a_netdev_ops);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Realtek 4 byte protocol A tags");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_RTL4_A, RTL4_A_NAME);
|
||||
|
@ -258,4 +258,5 @@ static struct dsa_tag_driver *dsa_tag_drivers[] = {
|
||||
};
|
||||
module_dsa_tag_drivers(dsa_tag_drivers);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Realtek 8 byte protocol 4 tags");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
@ -110,6 +110,7 @@ static const struct dsa_device_ops a5psw_netdev_ops = {
|
||||
.needed_headroom = A5PSW_TAG_LEN,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for Renesas RZ/N1 A5PSW switch");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_A5PSW, A5PSW_NAME);
|
||||
module_dsa_tag_driver(a5psw_netdev_ops);
|
||||
|
@ -806,4 +806,5 @@ static struct dsa_tag_driver *sja1105_tag_driver_array[] = {
|
||||
|
||||
module_dsa_tag_drivers(sja1105_tag_driver_array);
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for NXP SJA1105 switches");
|
||||
MODULE_LICENSE("GPL v2");
|
||||
|
@ -59,6 +59,7 @@ static const struct dsa_device_ops trailer_netdev_ops = {
|
||||
.needed_tailroom = 4,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for switches using a trailer tag");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_TRAILER, TRAILER_NAME);
|
||||
|
||||
|
@ -60,6 +60,7 @@ static const struct dsa_device_ops xrs700x_netdev_ops = {
|
||||
.needed_tailroom = 1,
|
||||
};
|
||||
|
||||
MODULE_DESCRIPTION("DSA tag driver for XRS700x switches");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_DSA_TAG_DRIVER(DSA_TAG_PROTO_XRS700X, XRS700X_NAME);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user