Messages in this thread | | | Subject | Re: [PATCH] micrel: ksz8851: fixes struct pointer issue | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 24 Aug 2022 12:10:17 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
On Mon, 22 Aug 2022 16:39:32 -0500 you wrote: > Issue found during code review. This bug has no impact as long as the > ks8851_net structure is the first element of the ks8851_net_spi structure. > As long as the offset to the ks8851_net struct is zero, the container_of() > macro is subtracting 0 and therefore no damage done. But if the > ks8851_net_spi struct is ever modified such that the ks8851_net struct > within it is no longer the first element of the struct, then the bug would > manifest itself and cause problems. > > [...]
Here is the summary with links: - micrel: ksz8851: fixes struct pointer issue https://git.kernel.org/netdev/net-next/c/fef5de753ff0
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |