From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755885AbcDLFSP (ORCPT ); Tue, 12 Apr 2016 01:18:15 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:36234 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755609AbcDLFSN (ORCPT ); Tue, 12 Apr 2016 01:18:13 -0400 Date: Tue, 12 Apr 2016 10:48:09 +0530 From: Viresh Kumar To: Keguang Zhang Cc: linux-pm@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" Subject: Re: [PATCH 2/5] cpufreq: Loongson1: Replace kzalloc() with kcalloc() Message-ID: <20160412051809.GP16238@vireshk-i7> References: <1460375759-20705-1-git-send-email-keguang.zhang@gmail.com> <1460375759-20705-2-git-send-email-keguang.zhang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1460375759-20705-2-git-send-email-keguang.zhang@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-04-16, 19:55, Keguang Zhang wrote: > From: Kelvin Cheung > > This patch replaces kzalloc() with kcalloc() when allocating > frequency table, and remove unnecessary 'out of memory' message. > > Signed-off-by: Kelvin Cheung > --- > drivers/cpufreq/loongson1-cpufreq.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-) Acked-by: Viresh Kumar -- viresh