[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0e4dca9a-28f4-c8e2-836d-0cb2bded5d52@wanadoo.fr>
Date: Mon, 24 Oct 2016 22:14:12 +0200
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: Lars-Peter Clausen <lars@...afoo.de>,
Dan Carpenter <dan.carpenter@...cle.com>
Cc: ssantosh@...nel.org, mturquette@...libre.com, sboyd@...eaurora.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] clk: keystone: Fix an error checking
Hi,
Thanks for the review and comments.
I'll send another patch for that.
It will not be tagged as v2 because it will be part of a patch set for
some other potential fixes.
CJ
Le 24/10/2016 à 12:41, Lars-Peter Clausen a écrit :
> On 10/24/2016 12:36 PM, Dan Carpenter wrote:
>> On Sun, Oct 23, 2016 at 10:12:49AM +0200, Christophe JAILLET wrote:
>>> clk_register_pll() can return ERR_PTR(-ENOMEM) so here the check against
>>> NULL only is not correct.
>>>
>> Change the ERR_PTR(-ENOMEM) to a NULL instead.
> In this particular case propagate the error returned by clk_register().
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-clk" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Powered by blists - more mailing lists