]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gcc 11 cleanup
authorAttila Fülöp <attila@fueloep.org>
Wed, 23 Jun 2021 23:57:06 +0000 (01:57 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 24 Jun 2021 20:13:40 +0000 (13:13 -0700)
commit088712793eb1a9cca2496edc4b63d4d79e4f1d9c
tree96b402b4722ac54bd887e8df3e3380aaf04076f0
parente0886c96a81e411e018f70bca362f9d284f003bf
gcc 11 cleanup

Compiling with gcc 11.1.0 produces three new warnings.
Change the code slightly to avoid them.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Attila Fülöp <attila@fueloep.org>
Closes #12130
Closes #12188
Closes #12237
contrib/pam_zfs_key/pam_zfs_key.c
include/sys/crypto/api.h
include/sys/dnode.h
module/os/linux/zfs/zio_crypt.c