[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id:
<171257342739.21044.6095732571313830982.git-patchwork-notify@kernel.org>
Date: Mon, 08 Apr 2024 10:50:27 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org, aleksander.lobakin@...el.com,
nex.sw.ncis.osdt.itp.upstreaming@...el.com, arnd@...db.de
Subject: Re: [net-next v2] pfcp: avoid copy warning by simplifing code
Hello:
This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@...emloft.net>:
On Fri, 5 Apr 2024 08:36:05 +0200 you wrote:
> From Arnd comments:
> "The memcpy() in the ip_tunnel_info_opts_set() causes
> a string.h fortification warning, with at least gcc-13:
>
> In function 'fortify_memcpy_chk',
> inlined from 'ip_tunnel_info_opts_set' at include/net/ip_tunnels.h:619:3,
> inlined from 'pfcp_encap_recv' at drivers/net/pfcp.c:84:2:
> include/linux/fortify-string.h:553:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
> 553 | __write_overflow_field(p_size_field, size);"
>
> [...]
Here is the summary with links:
- [net-next,v2] pfcp: avoid copy warning by simplifing code
https://git.kernel.org/netdev/net-next/c/cd8a34cbc853
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