From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 15 Apr 2016 16:57:28 -0700 From: Stephen Boyd To: Vladimir Zapolskiy Cc: Michael Turquette , Boris Brezillon , Alexandre Belloni , linux-clk@vger.kernel.org Subject: Re: [PATCH] clk: at91: fix check of clk_register() returned value Message-ID: <20160415235728.GP12052@codeaurora.org> References: <1457394089-15319-1-git-send-email-vz@mleia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1457394089-15319-1-git-send-email-vz@mleia.com> List-ID: On 03/08, Vladimir Zapolskiy wrote: > The clk_register() function returns a valid pointer to struct clk or > ERR_PTR() error code, this makes a check for returned NULL value > useless and may lead to oops on error path. > > Signed-off-by: Vladimir Zapolskiy > --- Applied to clk-next + added Fixes tag. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project