net: tulip: Rename PCI driver struct to end in _driver
Subsystems (3)
PATCH 1/1 net: tulip: Rename PCI driver struct to end in _driver
This is not only a cosmetic change because the section mismatch checks also depend on the name and for drivers the checks are stricter than for ops.
However xircom_driver also passes the stricter checks just fine, so no further changes needed.
--- drivers/net/ethernet/dec/tulip/xircom_cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/dec/tulip/xircom_cb.c +2 -2
@@ -143,7 +143,7 @@ static const struct pci_device_id xircom_pci_table[] = { };MODULE_DEVICE_TABLE (pci, xircom_pci_table); -static struct pci_driver xircom_ops = { +static struct pci_driver xircom_driver = { .name ="xircom_cb" , .id_table = xircom_pci_table, .probe = xircom_probe,
@@ -1169,4 +1169,4 @@ investigate_write_descriptor(struct net_device *dev, } } -module_pci_driver (xircom_ops); +module_pci_driver (xircom_driver);
base-commit: e04c78d86a9699d136910cfc0bdcf01087e3267e
Signature · 1 line
2.49.0
Simon Horman
reviewerQuoted 9 lines · Uwe Kleine-König
This is not only a cosmetic change because the section mismatch checks also depend on the name and for drivers the checks are stricter than for ops.
However
xircom_driveralso passes the stricter checks just fine, so no further changes needed.Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2")Signed-off-by Uwe Kleine-König <[email protected]>
As per my comment on a similar patch for a different driver:
From a Networking subsystem point of view this feels more like an enhancement than a bug fix. Can we drop the Fixes tag?
...
Quoted 8 lines · Simon Horman
Quoted 7 lines · Uwe Kleine-König
This is not only a cosmetic change because the section mismatch checks also depend on the name and for drivers the checks are stricter than for ops.
However
xircom_driveralso passes the stricter checks just fine, so no further changes needed.
Quoted 8 lines
Quoted 2 lines
Fixes 1da177e4c3f4 ("Linux-2.6.12-rc2")Signed-off-by Uwe Kleine-König <[email protected]>As per my comment on a similar patch for a different driver:
From a Networking subsystem point of view this feels more like an enhancement than a bug fix. Can we drop the Fixes tag?
For completeness: Here the same applies as for said other patch: IMHO the Fixes: line is right, but I agree that we don't need a backport to stable and I'm ok with dropping the line.
Best regards
Uwe
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Fri, 27 Jun 2025 12:22:20 +0200 you wrote:
This is not only a cosmetic change because the section mismatch checks also depend on the name and for drivers the checks are stricter than for ops.
However
xircom_driveralso passes the stricter checks just fine, so no further changes needed.[...]
Here is the summary with links:
- net: tulip: Rename PCI driver struct to end in _driver
https://git.kernel.org/netdev/net-next/c/e96ee511c906
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html