# Re: \[PATCH net v2\] net: usb: lan78xx: fix use of improperly initialized dev-\>chipid in lan78xx\_reset

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2025-10-16 01:30:21 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/10/3253352
- Thread: https://ratatoskr.run/netdev/2025/10/3249303/t.md

```text
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [ref]:

On Mon, 13 Oct 2025 23:46:48 +0530 you wrote:
> dev->chipid is used in lan78xx_init_mac_address before it's initialized:
> 
> lan78xx_reset() {
>     lan78xx_init_mac_address()
>         lan78xx_read_eeprom()
>             lan78xx_read_raw_eeprom() <- dev->chipid is used here
> 
> [...]

Here is the summary with links:
  - [net,v2] net: usb: lan78xx: fix use of improperly initialized dev->chipid in lan78xx_reset
    https://git.kernel.org/netdev/net/c/8d93ff40d49d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


```
