Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] drm/xe: Prevent null pointer access in xe_migrate_copy
@ 2024-09-19 22:42 Zhanjun Dong
  2024-09-19 22:42 ` [PATCH v2 1/1] " Zhanjun Dong
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Zhanjun Dong @ 2024-09-19 22:42 UTC (permalink / raw)
  To: intel-xe; +Cc: Zhanjun Dong, Matthew Brost, Thomas Hellström, Matt Roper

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@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-09-24 17:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-19 22:42 [PATCH v2 0/1] drm/xe: Prevent null pointer access in xe_migrate_copy Zhanjun Dong
2024-09-19 22:42 ` [PATCH v2 1/1] " Zhanjun Dong
2024-09-20  4:28   ` Ghimiray, Himal Prasad
2024-09-20 21:44     ` Matt Roper
2024-09-21  0:24       ` Matthew Brost
2024-09-24 17:14         ` Thomas Hellström
2024-09-19 22:55 ` ✓ CI.Patch_applied: success for " Patchwork
2024-09-19 22:55 ` ✓ CI.checkpatch: " Patchwork
2024-09-19 22:56 ` ✓ CI.KUnit: " Patchwork
2024-09-19 23:08 ` ✓ CI.Build: " Patchwork
2024-09-19 23:10 ` ✓ CI.Hooks: " Patchwork
2024-09-19 23:12 ` ✓ CI.checksparse: " Patchwork
2024-09-19 23:30 ` ✓ CI.BAT: " Patchwork
2024-09-20  1:13 ` ✗ CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox