Messages in this thread | | | Subject | Re: [PATCH RESEND net-next] alx: fix OOB-read compiler warning | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 22 Aug 2023 10:50:22 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (main) by Paolo Abeni <pabeni@redhat.com>:
On Mon, 21 Aug 2023 09:32:18 +0800 you wrote: > From: "GONG, Ruiqi" <gongruiqi1@huawei.com> > > The following message shows up when compiling with W=1: > > In function ‘fortify_memcpy_chk’, > inlined from ‘alx_get_ethtool_stats’ at drivers/net/ethernet/atheros/alx/ethtool.c:297:2: > ./include/linux/fortify-string.h:592:4: error: call to ‘__read_overflow2_field’ > declared with attribute warning: detected read beyond size of field (2nd parameter); > maybe use struct_group()? [-Werror=attribute-warning] > 592 | __read_overflow2_field(q_size_field, size); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > [...]
Here is the summary with links: - [RESEND,net-next] alx: fix OOB-read compiler warning https://git.kernel.org/netdev/net-next/c/3a198c95c95d
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |