Re: [PATCH 1/6] clk: asm9260: Fix of_io_request_and_map error check
From: Stephen Boyd
Date: Wed May 13 2015 - 03:35:14 EST
On 05/11, Maxime Ripard wrote:
> Mike, Stephen,
>
> On Sat, May 02, 2015 at 05:03:21PM +0200, Maxime Ripard wrote:
> > of_io_request_and map returns an error pointer, but the current code assumes
> > that on error the returned pointer will be NULL.
> >
> > Obviously, that makes the check completely useless. Change the test to actually
> > check for the proper error code.
> >
> > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> > Cc: Mike Turquette <mturquette@xxxxxxxxxx>
> > Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
> > Cc: linux-clk@xxxxxxxxxxxxxxx
>
> There doesn't seem to be a sub-maintainer for that driver, I guess it
> should go through your tree?
>
Yep. Applied to clk-next.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/