mirror_zfs/module/icp
Ubuntu bf01567e4e cppcheck: (error) Uninitialized variable
Resolve the following uninitialized variable warnings.  In practice
these were unreachable due to the goto.  Replacing the goto with a
return resolves the warning and yields more readable code.

[module/icp/algs/modes/ccm.c:892]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/ccm.c:893]: (error) Uninitialized variable: ccm_param
[module/icp/algs/modes/gcm.c:564]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:565]: (error) Uninitialized variable: gcm_param
[module/icp/algs/modes/gcm.c:599]: (error) Uninitialized variable: gmac_param
[module/icp/algs/modes/gcm.c:600]: (error) Uninitialized variable: gmac_param

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #9732
2020-01-22 13:49:06 -08:00
..
algs cppcheck: (error) Uninitialized variable 2020-01-22 13:49:06 -08:00
api Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
asm-x86_64 Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
core Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
include Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
io Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
os Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
spi Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
illumos-crypto.c Fix typos in modules/icp/ 2020-01-22 13:48:59 -08:00
Makefile.in Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00