summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/sections.h
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-05-21 01:01:52 +0000
committerEric Anholt <eric@anholt.net>2017-05-22 13:34:14 -0700
commit665f37e7eec33223bdc50cc1b3e00bca97a30aea (patch)
treeb1490206f86b07b98d1f831d5792b2063af65b0c /include/asm-generic/sections.h
parentf90dee20b40089b64fdcf18dd7bf9df500f6fddd (diff)
downloadblackbird-obmc-linux-665f37e7eec33223bdc50cc1b3e00bca97a30aea.tar.gz
blackbird-obmc-linux-665f37e7eec33223bdc50cc1b3e00bca97a30aea.zip
drm/pl111: Fix return value check in pl111_amba_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Eric Anholt <eric@anholt.net> Link: http://patchwork.freedesktop.org/patch/msgid/20170521010152.6186-1-weiyj.lk@gmail.com
Diffstat (limited to 'include/asm-generic/sections.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud