diff options
author | Brian Behlendorf <[email protected]> | 2022-06-20 19:37:38 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-07-27 13:38:56 -0700 |
commit | c771583f238f74588cfed1c7ecb07cf704905958 (patch) | |
tree | 7586139d09b906bd41f567e886cd69c28270dec3 /config | |
parent | ef0e506f46e66925615c3b89b27f14e49a58b286 (diff) |
Fix -Wattribute-warning in edonr
The wrong union memory was being accessed in EdonRInit resulting in
a write beyond size of field compiler warning. Reference the correct
member to resolve the warning. The warning was correct and this in
case the mistake was harmless.
In function ‘fortify_memcpy_chk’,
inlined from ‘EdonRInit’ at zfs/module/icp/algs/edonr/edonr.c:494:3:
./include/linux/fortify-string.h:344:25: 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]
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #13528
Closes #13575
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions