Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/i915: Check input parameter for NULL
[why] i915_gem_object_put_pages_phys() frees pages and standard pattern is to allow caller to not care if it's NULL or not. This will reduce burden on the callers to perform this check. [how] Fix it by adding Null check. Signed-off-by: Yongzhi Liu <lyz_cs@pku.edu.cn>
- Loading branch information