Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754485AbcJTXmH (ORCPT ); Thu, 20 Oct 2016 19:42:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59128 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751736AbcJTXmF (ORCPT ); Thu, 20 Oct 2016 19:42:05 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org EE64B61481 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Thu, 20 Oct 2016 16:42:03 -0700 From: Stephen Boyd To: Christophe JAILLET Cc: boris.brezillon@free-electrons.com, mturquette@baylibre.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH v2] clk: at91: Fix a return value in case of error Message-ID: <20161020234203.GE26139@codeaurora.org> References: <1474804438-27804-1-git-send-email-christophe.jaillet@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1474804438-27804-1-git-send-email-christophe.jaillet@wanadoo.fr> 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: 479 Lines: 15 On 09/25, Christophe JAILLET wrote: > If 'clk_hw_register()' fails, it is likely that we expect to return an > error instead of a valid pointer (which would mean success). > > Fix commit f5644f10dcfb ("clk: at91: Migrate to clk_hw based registration > and OF APIs") > > Signed-off-by: Christophe JAILLET > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project