Thread (2 messages) 2 messages, 2 authors, 2016-07-09

[PATCH -next] clk: sunxi: Fix return value check in sun8i_a23_mbus_setup()

From: Maxime Ripard <hidden>
Date: 2016-07-09 08:26:49
Also in: linux-clk

On Wed, Jul 06, 2016 at 12:21:47PM +0000, weiyj_lk at 163.com wrote:
From: Wei Yongjun <redacted>

In case of error, the function of_io_request_and_map() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should be
replaced with IS_ERR().

Signed-off-by: Wei Yongjun <redacted>
Applied, thanks

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160709/24828146/attachment-0001.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help