[PATCH v2 0/1] drm/xe: Prevent null pointer access in xe_migrate_copy

Zhanjun Dong zhanjun.dong at intel.com
Thu Sep 19 22:42:19 UTC 2024


Update lacks source flag to include resource is null case. This will
prevent null pointer derefrence in xe_migrate_copy.

Patchwork v1 link:
https://patchwork.freedesktop.org/series/138847/


Signed-off-by: Zhanjun Dong <zhanjun.dong at intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Cc: Matt Roper <matthew.d.roper at intel.com>

Changes from prior revs:
 v2:- Drop changes in xe_migrate_copy
      Update condition expression as suggested

Zhanjun Dong (1):
  drm/xe: Prevent null pointer access in xe_migrate_copy

 drivers/gpu/drm/xe/xe_bo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1



More information about the Intel-xe mailing list