[PATCH 0/8] target-iSCSI: Adjustments for several function implementations
From: SF Markus Elfring
Date: Tue Dec 12 2017 - 16:42:43 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Dec 2017 22:22:11 +0100
Some update suggestions were taken into account
from static source code analysis.
Markus Elfring (8):
Less function calls in chap_server_compute_md5() after error detection
Move resetting of seven variables in chap_server_compute_md5()
Delete 36 error messages for a failed memory allocation
Delete an unnecessary variable initialisation in iscsit_allocate_ooo_cmdsn()
Delete an unnecessary variable initialisation in iscsi_copy_param_list()
Delete an unnecessary variable initialisation in iscsi_create_default_params()
Delete an unnecessary variable initialisation in iscsi_set_default_param()
Improve 16 size determinations
drivers/target/iscsi/iscsi_target.c | 2 -
drivers/target/iscsi/iscsi_target_auth.c | 110 +++++++++++-----------
drivers/target/iscsi/iscsi_target_datain_values.c | 6 +-
drivers/target/iscsi/iscsi_target_erl1.c | 14 +--
drivers/target/iscsi/iscsi_target_erl2.c | 8 +-
drivers/target/iscsi/iscsi_target_login.c | 29 ++----
drivers/target/iscsi/iscsi_target_nego.c | 4 +-
drivers/target/iscsi/iscsi_target_parameters.c | 58 +++++-------
drivers/target/iscsi/iscsi_target_seq_pdu_list.c | 34 +++----
drivers/target/iscsi/iscsi_target_tpg.c | 13 +--
drivers/target/iscsi/iscsi_target_util.c | 11 +--
11 files changed, 118 insertions(+), 171 deletions(-)
--
2.15.1