Skip to contentSkip to conversation

net: tulip: fix build with CONFIG_GSC

PATCH Applied Rolf Eike Beer 2 participants 2 messages May 20, 2022 – May 21, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: tulip: fix build with CONFIG_GSC

Fixes 3daebfbeb455 ("net: tulip: convert to devres")
---
 drivers/net/ethernet/dec/tulip/eeprom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/dec/tulip/eeprom.c +1 -1
index 67a67cb78dbb..d5657ff15e3c 100644
@@ -117,7 +117,7 @@ static void tulip_build_fake_mediatable(struct tulip_private *tp)
 			  0x00, 0x06  /* ttm bit map */
 			};
 
-		tp->mtable = devm_kmalloc(&tp->pdev->pdev, sizeof(struct mediatable) +
+		tp->mtable = devm_kmalloc(&tp->pdev->dev, sizeof(struct mediatable) +
 					  sizeof(struct medialeaf), GFP_KERNEL);
 
 		if (tp->mtable == NULL)
Signature · 1 line
2.35.3
#1 lore raw
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 7 lines · On Fri, 20 May 2022 15:28:21 +0200 you wrote:
Fixes 3daebfbeb455 ("net: tulip: convert to devres")
---
 drivers/net/ethernet/dec/tulip/eeprom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- net: tulip: fix build with CONFIG_GSC

    https://git.kernel.org/netdev/net-next/c/dc2df00af951

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html