drm/xe: Prevent null pointer access in xe_migrate_copy
Status from this message: Applied to drm-xe-next. Thanks for the patch and review.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest1 patch 6 repliesApplied
- v31 patch 4 repliesSuperseded
- v21 patch 4 repliesSuperseded
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drm/xe: Prevent null pointer access in xe_migrate_copydrivers/ | +2 | 4 replies |
Reviews trailers per patch
The patch has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Thomas Hellström |
|---|---|
| Series | R-b |
| 1/1 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/1] drm/xe: Prevent null pointer access in xe_migrate_copy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
xe_migrate_copy designed to copy content of TTM resources. When source resource is null, it will trigger a NULL pointer dereference in xe_migrate_copy. To avoid this situation, update lacks source flag to true for this case, the flag will trigger xe_migrate_clear rather than xe_migrate_copy.
Changes from prior revs:
v4:- Limit commit message within 75 characters per line
Minor commit message changes
v3:- Update commit message to include Fixes and issue stack trace 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(-)
Signature · 1 line
2.34.1