Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752686AbdLLVmj (ORCPT ); Tue, 12 Dec 2017 16:42:39 -0500 Received: from mout.web.de ([212.227.15.4]:60219 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752553AbdLLVmh (ORCPT ); Tue, 12 Dec 2017 16:42:37 -0500 To: target-devel@vger.kernel.org, linux-scsi@vger.kernel.org, Al Viro , Arun Easi , Bart Van Assche , Dan Carpenter , David Disseldorp , Hannes Reinecke , Ingo Molnar , "Jason A. Donenfeld" , Jiang Yi , Kees Cook , "Nicholas A. Bellinger" , Russell King , Tang Wenji , "Theodore Ts'o" , Varun Prakash From: SF Markus Elfring Subject: [PATCH 0/8] target-iSCSI: Adjustments for several function implementations Cc: LKML , kernel-janitors@vger.kernel.org Message-ID: <6163538d-a406-2f60-11a2-88b4694e9975@users.sourceforge.net> Date: Tue, 12 Dec 2017 22:40:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:rI0JHmndFQdxQJn/BOD0Lb/G4cw9Om4AiYQ1ahj+hm8uPegsH+y GeYnAUSoFIdaxq+DP36S8irBf7H4hs3EbI1sOQr0NtRHuOH7dJyXMhmfAHoFcZ+UPDQd33Q WVB2Ts5DHW3CUc2tvKVa7WDzeL2QXc1iUTXN9iNHqU7DctLcnTwtQA43rnP/YyfUV+PqPYV 1Ob1HrBXVaa6DF6QUEZaQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:sEkIJ3fjw08=:+JAAOuSNx1RXFlF/5XJs30 rfFoP72iFaPRulcb3CLYUnVWRC7B9KccVCl+kcokThYx2GAKhAAtE6DNGoN3iV6ElXY/ETBMN XBkS6kolhN6EfwOX2C3OIF5kv8xSLZtjYYc2w1Em6ZUPLH/19ovVigE2grhudpVSqN1++u6aT tsKFnP/i1Hjj+EyWN/yfsmqXB1DMGrBbw+2ytYJ+R/RurEw0mRgF/I7kRk1YlvCdxGWT0pslP l8BcGggpSDqXwX58sW2l6OhD2lY6veU56TkROEZ4SvI/Z9A33TuY4tY0JRLl6xMBTI7OkRpX2 nI+S0lfmUhK6I+GzhI86lF4L8d5UN2IyTF9dL0ScHYIzzzT3No5GNeeSr6yvwzqVkLE2mryGi 0jIfk+rRTeW+5v0eJccloTZ4KsVbu4swVp7ZlUMjXbGt9Sxe6gfLVtgW7F7uqVQPgYZXUy0i4 z6UpehuzZ9e8Ladx9ZM5XVWjVU9LxvAlnGuLN+tWUV1VxzioAfG95aoxvxaabOld35ghmCNH0 AFC+vTv3YZ8LXHvDrmx7mycadB5G0NnTtCJH1bl6BbAhjyKgdm4+SV8Mp/OC26xO6QnXYryKN CJp/RfXkaYG0B1Tq+ObPa6FSBoZGe/SoV23/A5ulct8PFpxiHlXWEgGE7MUHoVoUFEH2YoApn 0lZIZ8wJSCbIYF/IdA01CCYFmhlb2SW0bqbUQlkvEW+4ZJdQQriOK/g4rKUO6DDgD87dmyw5M aDNvnbEPepZhQINmfpc05LfiMmqbVal7h8+Kc2ALdxqTfQSs8JVyn3GRVXBX3lNeVuIdPRXf7 fZLuZIOSk6bgct+rzdEziHXeNaEDmjKEfcw9Fir58nqDMBn3vOpUMKYAs7IoFFprWk6bYKR Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1505 Lines: 31 From: Markus Elfring 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