Thread (1 message) 1 message, 1 author, 2012-10-02

[PATCH] ARM: OMAP: omap_device: fix return value check in omap_device_build_ss()

From: Kevin Hilman <hidden>
Date: 2012-10-02 21:36:52
Also in: linux-devicetree, linux-omap

Wei Yongjun [off-list ref] writes:
From: Wei Yongjun <redacted>

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

dpatch engine is used to auto generated this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <redacted>
Thanks, queueing this for v3.7-rc.

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