Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750981AbcJAOpG (ORCPT ); Sat, 1 Oct 2016 10:45:06 -0400 Received: from mout.web.de ([217.72.192.78]:53442 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbcJAOpE (ORCPT ); Sat, 1 Oct 2016 10:45:04 -0400 Subject: [PATCH 00/15] md-cluster: Fine-tuning for ten function implementations References: <566ABCD9.1060404@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall To: linux-raid@vger.kernel.org, Guoqing Jiang , Shaohua Li From: SF Markus Elfring Message-ID: <3a03df66-92ce-20fb-17f3-fb79b9d43c8e@users.sourceforge.net> Date: Sat, 1 Oct 2016 16:44:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <566ABCD9.1060404@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:/2koHo325vBdM4HBYuZfAI4PIGQMaYodKlqXkcRnQLydKyFpMga OHaDJ41AscgHwujbNJ9krZYBc7d+NLWbOPBcNqEORzYDfIfynme3HwnZWq5CxsasLeYyBCP gWh1WrRzcnaQMYvUuMxMJFK6ECpknJJss9amOXu27LLbBa5PHdfEnOFIeYzl/diCaIhSRUM JFlVKoBCn+iB9EqVKocKw== X-UI-Out-Filterresults: notjunk:1;V01:K0:GfyrLIQ4mYQ=:P/gzR9MmMZLWItD+U8B8PH vRBXkH+0vUVPHE9ApsBcfBkuZ2keUBLOdQOgx+1YTxtvcYCZr403VTH+IZ9Wmu+cdhbxd1EE+ Ly+Rg68d0GIlx/zr6/1omq3Nof9nnmdf0oKuDlzdUJKGoZUsDqgEE/edgCl6yqVSdNE45N02g sir5KZpjuoaayaGNLZYEhVnvNpcQ/aB+l8tKl2Yx7QDTuxs92YbG8gkNefxBKfLyncOlzlbdu BVIWaK2BuHA2mvIJbYF8AnUvsIdXWoGvGPAUnXAZKpKwoLQhCmSiBefFVcHQQAHJBOX6yn6RQ srQ0JpU+0cHY/aXorFwc/UuPjrYWvGhGBPWk04CIzb4pmZKbfFFlUSwHT3bCPUGgjoiNE191o KPkwP7waq+jyGLaQzMA/uDQJUVgQKsUm7w8l7ks0e9XR4fixjlTRKg3uo1hBMGFtj4OQQQwVR HZNcmrkuwQDPWPDTqagisKRNc/r+pHT+4jYAxAhbOAA+iL0Q2JfkU5CVMRjkt02R/xnpfR8RQ baYPrxSdv8l2dYeg6AeMVUm9e7vzvJj4bCQ2Z0RzVxJl+oCaGw/axeUb+vVC7Jli5g/Nbw3Y0 EqbY6upnPum5KywaG810qxJ/vYO/LMA9quxSlGddooUonygLY25HSe7t20GxKZLYS4ET9W1mK 2MSFXgHSPsczYqJBYByzkJ/6oHKsNlkBDCASGwv08srntyY7fo6Cp5VYdqrKiMeosvIa8TyAa XFFPvCN5rkqRHEHWmps6FZSOFgbXf20/BGZtNXhNp5Vig8To3TiqSlaV6eI4Nv6Hgzx/tfQiP PUoNB6l Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1142 Lines: 28 From: Markus Elfring Date: Sat, 1 Oct 2016 16:38:17 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (15): Use kcalloc() in lock_all_bitmaps() Improve another size determination in resync_info_update() Improve another size determination in join() Improve another size determination in __sendmsg() Improve another size determination in recv_daemon() Rename a jump label in recv_daemon() Improve another size determination in process_suspend_info() Improve determination of sizes in read_resync_info() Improve another size determination in lockres_init() Delete an unnecessary variable initialisation in lockres_init() Delete four error messages for a failed memory allocation Rename a jump label in area_resyncing() Less function calls in join() after error detection Less function calls in lockres_init() after error detection Delete unnecessary braces in unlock_all_bitmaps() drivers/md/md-cluster.c | 114 ++++++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 58 deletions(-) -- 2.10.0