* [PATCH net v2] net: xscale: publish the IXP46x PTP OF module alias
@ 2026-09-20 3:45 Pengpeng Hou
2026-09-22 0:30 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Pengpeng Hou @ 2026-09-20 3:45 UTC (permalink / raw)
To: andrew+netdev
Cc: davem, edumazet, kuba, pabeni, netdev, linux-kernel,
richardcochran, horms, hppiscas
The IXP46x PTP driver matches intel,ixp46x-ptp-timer via its OF table,
but does not export that table. A module build therefore lacks the OF
alias used to automatically load the timer driver.
Export the existing table without changing the matching or probe logic.
The issue was found by our static-analysis tool.
Fixes: e9e506221b42 ("ixp4xx_eth: Probe the PTP module from the device tree")
Reviewed-by: Simon Horman <horms@kernel.org>
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
---
Changes since v1:
https://lore.kernel.org/all/20260704122722.5715-1-pengpeng@iscas.ac.cn/
Rewrite the source-analysis explanation as requested by Jakub and
identify the PTP driver in the subject.
drivers/net/ethernet/xscale/ptp_ixp46x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/xscale/ptp_ixp46x.c b/drivers/net/ethernet/xscale/ptp_ixp46x.c
index 558c4f8d23f7..c805d1df5d4e 100644
--- a/drivers/net/ethernet/xscale/ptp_ixp46x.c
+++ b/drivers/net/ethernet/xscale/ptp_ixp46x.c
@@ -307,6 +307,7 @@ static const struct of_device_id ptp_ixp_match[] = {
},
{ },
};
+MODULE_DEVICE_TABLE(of, ptp_ixp_match);
static struct platform_driver ptp_ixp_driver = {
.driver = {
base-commit: 518e5b794c06c0f0eb40df3e202274a66202c137
--
2.50.1 (Apple Git-155)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH net v2] net: xscale: publish the IXP46x PTP OF module alias
2026-09-20 3:45 [PATCH net v2] net: xscale: publish the IXP46x PTP OF module alias Pengpeng Hou
@ 2026-09-22 0:30 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-09-22 0:30 UTC (permalink / raw)
To: Pengpeng Hou
Cc: andrew+netdev, davem, edumazet, kuba, pabeni, netdev,
linux-kernel, richardcochran, horms
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 20 Sep 2026 11:45:57 +0800 you wrote:
> The IXP46x PTP driver matches intel,ixp46x-ptp-timer via its OF table,
> but does not export that table. A module build therefore lacks the OF
> alias used to automatically load the timer driver.
>
> Export the existing table without changing the matching or probe logic.
>
> The issue was found by our static-analysis tool.
>
> [...]
Here is the summary with links:
- [net,v2] net: xscale: publish the IXP46x PTP OF module alias
https://git.kernel.org/netdev/net-next/c/51cb6a6424f3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-22 0:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 3:45 [PATCH net v2] net: xscale: publish the IXP46x PTP OF module alias Pengpeng Hou
2026-09-22 0:30 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®