Unverified Commit 7d3a5962 authored by Dan Carpenter's avatar Dan Carpenter Committed by Rodrigo Vivi
Browse files

drm/xe/vf: Fix IS_ERR() vs NULL check in xe_sriov_vf_ccs_init()



The xe_migrate_alloc() function returns NULL on error.  It doesn't return
error pointers.  Update the checking to match.

Fixes: a843b989 ("drm/xe/vf: Fix VM crash during VF driver release")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarMichal Wajdeczko <michal.wajdeczko@intel.com>
Link: https://lore.kernel.org/r/aIzB8-Y6wtZvfNQT@stanley.mountain


Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent 1cda3c75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment