eth: mtk_ppe: fix up after merge
Subsystems (4)
Jakub Kicinski
maintainerPATCH 1/1 eth: mtk_ppe: fix up after merge
I missed this in the barrage of GCC 12 warnings. Commit cf2df74e202d ("net: fix dev_fill_forward_path with pppoe + bridge") changed the pointer into an array.
Fixes d7e6f5836038 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net")
Signed-off-by Jakub Kicinski <[email protected]>
---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]
--- drivers/net/ethernet/mediatek/mtk_ppe_offload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/mediatek/mtk_ppe_offload.c +2 -1
@@ -90,10 +90,11 @@ mtk_flow_get_wdma_info(struct net_device *dev, const u8 *addr, struct mtk_wdma_i {struct net_device_path_ctx ctx = { .dev = dev, - .daddr = addr, };struct net_device_path path = {}; +memcpy (ctx.daddr, addr,sizeof (ctx.daddr)); +if (!IS_ENABLED (CONFIG_NET_MEDIATEK_SOC_WED ))return -1 ;
Signature · 1 line
2.34.3
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Thu, 19 May 2022 18:25:55 -0700 you wrote:
I missed this in the barrage of GCC 12 warnings. Commit
cf2df74e202d("net: fixdev_fill_forward_pathwith pppoe + bridge") changed the pointer into an array.Fixes d7e6f5836038 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net")Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net-next] eth: mtk_ppe: fix up after merge
https://git.kernel.org/netdev/net-next/c/16ea52c44e7a
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html