diff options
| author | Edward Cree <[email protected]> | 2023-07-28 16:55:28 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-07-31 21:27:53 +0000 |
| commit | 55c1528f9b97ff3b7efad73e8f79627fc2efb298 (patch) | |
| tree | 117d4e6d7f09b53a2a6ae816736dac774c40d7c9 /drivers/net/ethernet/intel/ice/ice_main.c | |
| parent | net: usb: qmi_wwan: add Quectel EM05GV2 (diff) | |
| download | kernel-55c1528f9b97ff3b7efad73e8f79627fc2efb298.tar.gz kernel-55c1528f9b97ff3b7efad73e8f79627fc2efb298.zip | |
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 <[email protected]>
Tested-by: Andy Moreton <[email protected]>
Signed-off-by: Edward Cree <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions
