gcc 11 cleanup
commit1b610ae45f59bd15e75b2bb058c4d9ab552e9214
authorAttila Fülöp <attila@fueloep.org>
Wed, 23 Jun 2021 23:57:06 +0000 (24 01:57 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Jun 2021 23:57:06 +0000 (23 17:57 -0600)
tree8512674af613ae721b4e5ad646e3fc1f37e36df6
parent63f4b959a6826088c3eda7d17326a6bcf2f4ced8
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