mirror_zfs/module/icp
Ubuntu 5215fdd43c 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
2019-12-18 17:23:54 -08:00
..
algs cppcheck: (error) Uninitialized variable 2019-12-18 17:23:54 -08:00
api Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
asm-x86_64 Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
core ICP: Fix null pointer dereference and use after free 2019-12-03 10:28:47 -08:00
include Fix icp build on FreeBSD 2019-11-01 10:27:53 -07:00
io Linux 4.14, 4.19, 5.0+ compat: SIMD save/restore 2019-10-24 10:17:33 -07:00
os Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
spi Fix strdup conflict on other platforms 2019-10-10 09:47:06 -07:00
illumos-crypto.c Fix typos in modules/icp/ 2019-08-30 14:26:07 -07:00
Makefile.in Add support for selecting encryption backend 2018-08-02 11:59:24 -07:00