Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756836AbdDRJfn (ORCPT ); Tue, 18 Apr 2017 05:35:43 -0400 Received: from mout.web.de ([212.227.15.4]:58979 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755614AbdDRJfM (ORCPT ); Tue, 18 Apr 2017 05:35:12 -0400 To: linux-clk@vger.kernel.org, Jiancheng Xue , Michael Turquette , Stephen Boyd Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/6] clk-Hisilicon: Fine-tuning for some function implementations Message-ID: <7a649967-8ff1-8682-2f87-43871172fc28@users.sourceforge.net> Date: Tue, 18 Apr 2017 11:34:52 +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:cXqGK13okrrhpKVQshQVyDobzjF7SuMLMUTkX/h347podo7EEwr ghILx3e/laXR6hkIQ3ythaNe8fIBNSIl//PU6+ifNRTkjY07lsKzggIloxFKa+sPShgZF7H arYAnO8Abs8j4Q+vvqXycyu7lKTlBPB1j6Y3FrU0cJf2RX8L6npB0APMB/rSp9B6XCg1JbQ bcsguMFj79/GnCSJ1X2Tg== X-UI-Out-Filterresults: notjunk:1;V01:K0:JWj/3CDaU/A=:TAxLp19sSC7bWQEKjAPHbO 22KgHtJ2rrtKodT5V8eHQPSdjngkkKQ1jHVwKbsXTzc2wMVWtnitYUdJaR7BcvDtOb2TygVq+ FLBWl5aiTPGIQ7eyfiZj7v3mQhb0UmlLJGhalgMVt48LhVns3lz4CunYGTTAokZn3vFL4N9SG 8Y3K7zCivkSOeH9Wslr7kT8+gyFIjeb51N12kSWOGdrgN2iAxLLjnEQ+AAJpTlX0e+wBqGQHz Fogxs7KcmQaFSJOg8x1g6/5/36AePJyHRdLmXnj0c3m/YlNZpXcLdH6E/4dLUwaZjoyY70kXm 7iJbPPgUIGy2J4ycWiHZd4rioTQNO4jeYYQITjM+/+S9+nX233biS0ypKUKgD/MMTO8KftM63 f24pojLAbZzKhhuuRWg87EUhqKYUO6nGHeMrs5Rrdtd8qdOsY5nmCvjn/hWRduB7ZY7SnLtO4 EZeDWjCy3R1KKp+MF9ailvYGfbeI0K+LKabjbr4vueRNZsh2PEPo/SP4ISnYcZfhDOaP1hi9m aM7Wi5FbqoVDO+KYODsYo07QXwoxV2HfOegZ3B6IKFoGVFKgETC4ttOiGqfULV1tQkStdZ/MP dCsoCX7Pn6SBvqO8vOcLScMJ9Xqps2DEYfSb22KLCMhRSZNOGV1VGzFeotWEtEKHauOrB8l19 HFQzfBS9CNV0633niIkWiHAh9sdCEiNQNHFWFXJU0igu1J+nyl0Adxh8okP3ThEjx7LuHxryu FAaJriuzp1FwieCUTP+0yQ2R9PxyH9WvtuWWngd1Z3i7nfVZ9/shzc2E2WsV5o9Or+bksdZD1 DJ4OOat Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 681 Lines: 20 From: Markus Elfring Date: Tue, 18 Apr 2017 11:27:32 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (6): Use kcalloc() in hisi_clk_init() Delete error messages for failed memory allocations in hisi_clk_init() Use devm_kmalloc_array() in hisi_clk_alloc() Use kcalloc() in hi3620_mmc_clk_init() Delete error messages for a failed memory allocation in two functions Fix a typo in one variable name drivers/clk/hisilicon/clk-hi3620.c | 16 ++++++---------- drivers/clk/hisilicon/clk.c | 18 ++++++++---------- 2 files changed, 14 insertions(+), 20 deletions(-) -- 2.12.2