Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754584AbdDENwS (ORCPT ); Wed, 5 Apr 2017 09:52:18 -0400 Received: from mout.web.de ([212.227.17.12]:59482 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753156AbdDENuu (ORCPT ); Wed, 5 Apr 2017 09:50:50 -0400 To: linux-rdma@vger.kernel.org, Doug Ledford , Hal Rosenstock , Mike Marciniszyn , Sean Hefty From: SF Markus Elfring Subject: [PATCH 0/5] IB/qib: Fine-tuning for four function implementations Cc: LKML , kernel-janitors@vger.kernel.org Message-ID: Date: Wed, 5 Apr 2017 15:50:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.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:cSyWOLAO8dHnDFqUO1XwAZl/0Me0QV93p6i+WtpKLho6hbARN0x SwCUMc8IMxTK9v0wScAQffh52tXlq7dJy7zVB6tgSis97RyPuSKaiuLZmkFZg7fwUbidKKl EaiIIyqRFlcCAYvYh83PrZ0exjWIgC0fMaKDV11TvSR8p1VVelgnexl8nJgy4YitDUDFy6b jceKIPDpBuKB+HAPlJ/bQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:ybYY+kZdVGI=:HRe3VxgsTxsZu2PFszyila a0R4lzfEECLVxyD8cdmKbxKKcFos5eMMawr5aDLyFuuQLstG/Xmxzbe7+oHiE/lbIypefvHRH F/yYL/v+JhC+ZnlM0grYQVudNdP0FaALEsuZRFECqr7eSLXumtVyl/CgzIGHO/vQlsECxmWSJ CpbwkGPWi3heKRo0Klxy6ada9+ceOv8n/vtluikryIFbwIyUCteL2bECX6KauroJvQEjBQM5W BOMLSN+Mxqvk5Q22edUyZDeTf8O35h9z0WNfTWZIrpNxKS3l+OQMRR9HnLhTYM2lVhfXrmd0n xsS2PlhlCK3z/440VH8RBrWGC28d5YttBe2i1kpMgsSaZUXYeXdxmexzyzxa3LDyPUQS6d/Ic ae9n8FN5jWfzx+wQcizYUjZIndongNQmlIRhG4hQ6FyiZGXNb7SYUx6pviSzLbSkJGMnHF+bk VukcKxWgDrMO/tdZP213gPdKq9R1zCVpkuDKsrgIhincpsPEsceW00W5qvW5c6xJ7keKDTplz 14uT05x/mW36IKw2dLOafps8uxwDDHdW5UzGzzaYSBKXcBL23lIQMnoFxXQtSNtmfB8bmStLB ncbHwVkxGzOkl8FFWO67woE31UXSibpFXduE/R7+5xH2IYehcVOqMQ345TSXNCVkB0NCKAbPm xSyQM8ZeC5xQOV/KYZb8uiyNK1gi1FENI2jftYkKLFG7VrClOWNlm9zOCTz9qcidbPdtfbxyl gHwX3t9+VB7Zr2LqFg4utiLflPEwazC8H7TdG/Sqi6tjPyuJKOkV4KuLYlil5CESF4vQs5h68 9A/BufY Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 632 Lines: 19 From: Markus Elfring Date: Wed, 5 Apr 2017 15:34:32 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Use kcalloc() in qib_init_iba7322_funcs() Use kmalloc_array() in qib_init_7322_variables() Use kcalloc() in qib_alloc_devdata() Use kcalloc() in qib_init_pportdata() Adjust two size determinations in qib_init_pportdata() drivers/infiniband/hw/qib/qib_iba7322.c | 20 ++++++++++++-------- drivers/infiniband/hw/qib/qib_init.c | 27 +++++++++++++-------------- 2 files changed, 25 insertions(+), 22 deletions(-) -- 2.12.2