[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166134301711.8334.15216665637776829191.git-patchwork-notify@kernel.org>
Date: Wed, 24 Aug 2022 12:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jerry Ray <jerry.ray@...rochip.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH] micrel: ksz8851: fixes struct pointer issue
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@...emloft.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
Powered by blists - more mailing lists