diff options
author | Edward Cree <[email protected]> | 2023-07-28 17:55:28 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-07-31 14:27:53 -0700 |
commit | 55c1528f9b97ff3b7efad73e8f79627fc2efb298 (patch) | |
tree | 117d4e6d7f09b53a2a6ae816736dac774c40d7c9 /drivers/fpga/fpga-mgr.c | |
parent | d4480c9bb9258db9ddf2e632f6ef81e96b41089c (diff) |
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/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions