diff options
author | Edward Cree <ecree.xilinx@gmail.com> | 2023-07-28 19:55:28 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-08-01 00:27:53 +0300 |
commit | 55c1528f9b97ff3b7efad73e8f79627fc2efb298 (patch) | |
tree | 117d4e6d7f09b53a2a6ae816736dac774c40d7c9 /scripts/gdb/linux/utils.py | |
parent | d4480c9bb9258db9ddf2e632f6ef81e96b41089c (diff) | |
download | linux-55c1528f9b97ff3b7efad73e8f79627fc2efb298.tar.xz |
sfc: fix field-spanning memcpy in selftest
Add a struct_group for the whole packet body so we can copy it in one
go without triggering FORTIFY_SOURCE complaints.
Fixes: cf60ed469629 ("sfc: use padding to fix alignment in loopback test")
Fixes: 30c24dd87f3f ("sfc: siena: use padding to fix alignment in loopback test")
Fixes: 1186c6b31ee1 ("sfc: falcon: use padding to fix alignment in loopback test")
Reviewed-by: Andy Moreton <andy.moreton@amd.com>
Tested-by: Andy Moreton <andy.moreton@amd.com>
Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230728165528.59070-1-edward.cree@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions