diff options
author | huhai <[email protected]> | 2022-05-26 18:12:13 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-05-30 21:21:12 -0700 |
commit | 3a2cd89bfbeb10012eb90857ce641d34f0151c4c (patch) | |
tree | 8df9832d3c105a4d8befb5ce014689742570b2a7 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 90343f573252f5ebf13b3aa3b9a0b7e60ca7f503 (diff) |
net: ipv4: Avoid bounds check warning
Fix the following build warning when CONFIG_IPV6 is not set:
In function ‘fortify_memcpy_chk’,
inlined from ‘tcp_md5_do_add’ at net/ipv4/tcp_ipv4.c:1210:2:
./include/linux/fortify-string.h:328:4: 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]
328 | __write_overflow_field(p_size_field, size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suggested-by: Paolo Abeni <[email protected]>
Signed-off-by: huhai <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions