[PATCH 00/10] md/dm-crypt: Fine-tuning for five function implementations

From: SF Markus Elfring
Date: Wed Sep 28 2016 - 11:34:26 EST


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