From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Wed, 28 Sep 2016 17:25:17 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (10): Use kcalloc() in crypt_alloc_tfms() Reduce the scope for a variable in crypt_alloc_tfms() Rename a jump label in crypt_message() Delete an unnecessary variable initialisation in crypt_message() Rename a jump label in crypt_set_key() Delete an unnecessary variable initialisation in crypt_set_key() Rename a jump label in crypt_iv_tcw_whitening() Return directly after a failed crypto_alloc_ahash() in crypt_iv_essiv_ctr() Two checks and one function call less in crypt_iv_essiv_ctr() after error detection Delete unnecessary variable initialisations in crypt_iv_essiv_ctr() drivers/md/dm-crypt.c | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) -- 2.10.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel