[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOCOHw4GL-BK0mmO1uihROoQZOi_cuHmRM=G7Zfid0vZeb_rfg@mail.gmail.com>
Date: Mon, 21 Mar 2016 10:21:16 -0700
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Vladimir Zapolskiy <vz@...ia.com>
Cc: Ohad Ben-Cohen <ohad@...ery.com>,
Ludovic Barre <ludovic.barre@...com>,
Lee Jones <lee.jones@...aro.org>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] remoteproc: st: fix check of syscon_regmap_lookup_by_phandle()
return value
On Sat, Mar 19, 2016 at 6:31 AM, Vladimir Zapolskiy <vz@...ia.com> wrote:
> syscon_regmap_lookup_by_phandle() returns either a valid pointer to
> struct regmap or ERR_PTR() error value, check for NULL is invalid and
> on error path may lead to oops, the change corrects the check.
>
> Signed-off-by: Vladimir Zapolskiy <vz@...ia.com>
Applied, with Lee's ack.
Thanks,
Bjorn
Powered by blists - more mailing lists