diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-09-11 06:56:12 +0800 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2013-09-11 17:31:33 -0400 |
commit | 1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8 (patch) | |
tree | 5fa117c3854eeeeb23d749402e125312e67cf7c3 /init | |
parent | 198725337ef1f73b73e7dc953c6ffb0799f26ffe (diff) | |
download | op-kernel-dev-1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8.zip op-kernel-dev-1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8.tar.gz |
drm/msm: fix return value check in ERR_PTR()
In case of error, the function drm_prime_pages_to_sg() 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 'init')
0 files changed, 0 insertions, 0 deletions