Skip to content
Commit 591c39ff authored by Dan Carpenter's avatar Dan Carpenter Committed by Zhenyu Wang
Browse files

drm/i915/gvt: Fix an error code in ppgtt_populate_spt_by_guest_entry()



"ret" is uninitialized on this path but it should be -EINVAL.

Fixes: 930c8dfe ("drm/i915/gvt: Check if get_next_pt_type() always returns a valid value")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent e175a252
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment