[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166868102530.4691.12181309882001372822.git-patchwork-notify@kernel.org>
Date: Thu, 17 Nov 2022 10:30:25 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Hangbin Liu <liuhangbin@...il.com>
Cc: netdev@...r.kernel.org, j.vosburgh@...il.com, davem@...emloft.net,
kuba@...nel.org, jtoppins@...hat.com, pabeni@...hat.com,
dsahern@...il.com, tom@...bertland.com, edumazet@...gle.com,
lkp@...el.com
Subject: Re: [PATCHv3 net] net: use struct_group to copy ip/ipv6 header addresses
Hello:
This patch was applied to netdev/net.git (master)
by Paolo Abeni <pabeni@...hat.com>:
On Tue, 15 Nov 2022 22:24:00 +0800 you wrote:
> kernel test robot reported warnings when build bonding module with
> make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/bonding/:
>
> from ../drivers/net/bonding/bond_main.c:35:
> In function ‘fortify_memcpy_chk’,
> inlined from ‘iph_to_flow_copy_v4addrs’ at ../include/net/ip.h:566:2,
> inlined from ‘bond_flow_ip’ at ../drivers/net/bonding/bond_main.c:3984:3:
> ../include/linux/fortify-string.h:413:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of f
> ield (2nd parameter); maybe use struct_group()? [-Wattribute-warning]
> 413 | __read_overflow2_field(q_size_field, size);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> In function ‘fortify_memcpy_chk’,
> inlined from ‘iph_to_flow_copy_v6addrs’ at ../include/net/ipv6.h:900:2,
> inlined from ‘bond_flow_ip’ at ../drivers/net/bonding/bond_main.c:3994:3:
> ../include/linux/fortify-string.h:413:25: warning: call to ‘__read_overflow2_field’ declared with attribute warning: detected read beyond size of f
> ield (2nd parameter); maybe use struct_group()? [-Wattribute-warning]
> 413 | __read_overflow2_field(q_size_field, size);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Here is the summary with links:
- [PATCHv3,net] net: use struct_group to copy ip/ipv6 header addresses
https://git.kernel.org/netdev/net/c/58e0be1ef611
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