commit | e38648f95d197b2296dec4b8c1f9a163c362f31e | [log] [tgz] |
---|---|---|
author | Haixia Shi <hshi@chromium.org> | Tue Nov 25 12:04:03 2014 -0800 |
committer | Dave Airlie <airlied@redhat.com> | Wed Nov 26 10:03:18 2014 +1000 |
tree | 49c4c0363e3efdaade162d06a6575deb5abe3c61 | |
parent | 4bc158e0be4b03b320db9f3b91a84c898ae928a0 [diff] |
drm/udl: properly check for error pointers The drm_prime_pages_to_sg() function never returns NULL pointers, only error pointers and valid pointers. Signed-off-by: Haixia Shi <hshi@chromium.org> Reviewed-by: Stéphane Marchesin <marcheu@chromium.org> Signed-off-by: Dave Airlie <airlied@redhat.com>