Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426719AbdDVCp2 (ORCPT ); Fri, 21 Apr 2017 22:45:28 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58414 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1426591AbdDVCpN (ORCPT ); Fri, 21 Apr 2017 22:45:13 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 0FA33611AB Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 21 Apr 2017 19:45:11 -0700 From: Stephen Boyd To: SF Markus Elfring Cc: linux-clk@vger.kernel.org, Michael Turquette , LKML , kernel-janitors@vger.kernel.org Subject: Re: [PATCH 2/8] clk: si5351: Delete an error message for a failed memory allocation in si5351_i2c_probe() Message-ID: <20170422024511.GL7065@codeaurora.org> References: <94b24eaa-c5fb-80ea-441a-883989d14ef5@users.sourceforge.net> <2a7dd521-86bb-09b8-d49d-7518b51094ea@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a7dd521-86bb-09b8-d49d-7518b51094ea@users.sourceforge.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 724 Lines: 25 On 04/20, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 20 Apr 2017 07:34:54 +0200 > > The script "checkpatch.pl" pointed information out like the following. > > * CHECK: Comparison to NULL could be written "!drvdata" > > Thus adjust this expression. > > > * WARNING: Possible unnecessary 'out of memory' message > > Thus remove such a statement here. > > Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf > > Signed-off-by: Markus Elfring > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project