summaryrefslogtreecommitdiffstats
path: root/include/linux/pid_namespace.h
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-08-26 12:24:24 +0200
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-08-26 14:16:51 +0200
commiteacd9aa98bdeef5ba19072d3f07dfcccd24988f2 (patch)
treed2811163841b4b1cab93f56d0a4313e4fe6246ac /include/linux/pid_namespace.h
parent5024a2b7ae9a92b8ec97ac1507efb283778480ce (diff)
downloadop-kernel-dev-eacd9aa98bdeef5ba19072d3f07dfcccd24988f2.zip
op-kernel-dev-eacd9aa98bdeef5ba19072d3f07dfcccd24988f2.tar.gz
drm: sti: Fix return value check in sti_drm_platform_probe()
In case of error, the function platform_device_register_resndata() 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 <yongjun_wei@trendmicro.com.cn>
Diffstat (limited to 'include/linux/pid_namespace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud