From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Sat, 6 May 2017 10:34:23 +0200 Subject: [Cluster-devel] [PATCH 00/10] fs-DLM: Fine-tuning for several function implementations Message-ID: <4bd895d7-9448-928d-1e4c-42326ce20607@users.sourceforge.net> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Markus Elfring Date: Sat, 6 May 2017 10:15:25 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (10): Replace six seq_puts() calls by seq_putc() Add spaces for better code readability Improve a size determination in table_seq_start() Use kcalloc() in dlm_scan_waiters() Improve a size determination in dlm_recover_waiters_pre() Delete an error message for a failed memory allocation in dlm_recover_waiters_pre() Use kmalloc_array() in make_member_array() Use kcalloc() in two functions Improve a size determination in two functions Delete an unnecessary variable initialisation in dlm_ls_start() fs/dlm/debug_fs.c | 25 ++++++++++++------------- fs/dlm/lock.c | 8 +++----- fs/dlm/member.c | 15 ++++++--------- 3 files changed, 21 insertions(+), 27 deletions(-) -- 2.12.2