drm/xe: Add NULL check before deferencing pointer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | drm/xe: Add NULL check before dereferencing pointer lrc->bo in xe_lrc_snapshot_capture()drivers/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] drm/xe: Add NULL check before deferencing pointer
From: Apoorva Singh <[email protected]>
Add NULL check before deferencing of lrc->bo inxe_lrc_snapshot_capture().
Free the dynamically allocated memory for snapshot to avoid memory leak.
Signed-off-by Apoorva Singh <[email protected]>
Apoorva Singh (1):
drm/xe: Add NULL check before dereferencing pointer lrc->bo in
xe_lrc_snapshot_capture()
drivers/gpu/drm/xe/xe_lrc.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1