Thread (3 messages) 3 messages, 2 authors, 2015-05-13

Re: [PATCH 1/6] clk: asm9260: Fix of_io_request_and_map error check

From: Maxime Ripard <hidden>
Date: 2015-05-11 19:45:07
Also in: lkml

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 <redacted>
Cc: Mike Turquette <redacted>
Cc: Stephen Boyd <redacted>
Cc: linux-clk@vger.kernel.org
There doesn't seem to be a sub-maintainer for that driver, I guess it
should go through your tree?

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help