mirror_zfs/module/icp
Brian Behlendorf 18df6afdfc 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 <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13528
Closes #13575
2022-06-27 14:19:04 -07:00
..
algs Fix -Wattribute-warning in edonr 2022-06-27 14:19:04 -07:00
api Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
asm-aarch64/blake3 Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
asm-ppc64/blake3 Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
asm-x86_64 Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
core Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
include module: icp: remove provider stats 2022-02-15 16:26:08 -08:00
io Remove bcopy(), bzero(), bcmp() 2022-03-15 15:13:42 -07:00
spi module: icp: remove provider stats 2022-02-15 16:26:08 -08:00
illumos-crypto.c linux: module: weld all but spl.ko into zfs.ko 2022-04-20 13:28:24 -07:00