On Fri, May 03, 2019 at 01:45:07PM -0500, Li Yang wrote:
> On Fri, May 3, 2019 at 8:19 AM Dan Carpenter wrote:
> >
> > There was a missing error code in this path. It meant that we returned
> > ERR_PTR(0) which is NULL and would result in a NULL dereference in the
> > caller.
>
> Thanks Dan.
On Fri, May 3, 2019 at 8:19 AM Dan Carpenter wrote:
>
> There was a missing error code in this path. It meant that we returned
> ERR_PTR(0) which is NULL and would result in a NULL dereference in the
> caller.
Thanks Dan. An early version of this patch has been included in a
pending pull
There was a missing error code in this path. It meant that we returned
ERR_PTR(0) which is NULL and would result in a NULL dereference in the
caller.
Fixes: 1a2d397a6eb5 ("gpio/powerpc: Eliminate duplication of
of_get_named_gpio_flags()")
Signed-off-by: Dan Carpenter
---