[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6453323.GiPU6Gidg3@vostro.rjw.lan>
Date: Thu, 18 Aug 2016 03:13:39 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Daniel Lezcano <daniel.lezcano@...aro.org>
Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] ARM: cpuidle: Fix error return code
On Wednesday, August 17, 2016 04:16:09 PM Daniel Lezcano wrote:
> On 08/11/2016 03:02 PM, Christophe JAILLET wrote:
> > We know that 'ret = 0' because it has been tested a few lines above.
> > So, if 'kzalloc' fails, 0 will be returned instead of an error code.
> > Return -ENOMEM instead.
> >
> > Fixes: a0d46a3dfdc3 ("ARM: cpuidle: Register per cpuidle device")
> >
> > Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
>
> Applied, thanks !
Daniel, I've applied it too and earlier.
Thanks,
Rafael
Powered by blists - more mailing lists