[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169270142226.5727.3369298753541384409.git-patchwork-notify@kernel.org>
Date: Tue, 22 Aug 2023 10:50:22 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: GONG@...codeaurora.org, Ruiqi <gongruiqi@...weicloud.com>
Cc: chris.snook@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, sd@...asysnail.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
keescook@...omium.org, gustavoars@...nel.org, gongruiqi1@...wei.com
Subject: Re: [PATCH RESEND net-next] alx: fix OOB-read compiler warning
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@...hat.com>:
On Mon, 21 Aug 2023 09:32:18 +0800 you wrote:
> From: "GONG, Ruiqi" <gongruiqi1@...wei.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
Powered by blists - more mailing lists