diff options
author | 2023-12-14 13:39:52 -0800 | |
---|---|---|
committer | 2023-12-21 11:46:17 -0500 | |
commit | 40fb5ed290d49b568d8547ecfdc5bd83f217dfe1 (patch) | |
tree | 110d17c1b8534ebb4cffef06020788dc5d73e871 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/xe: Drop some unnecessary header includes (diff) | |
download | wireguard-linux-40fb5ed290d49b568d8547ecfdc5bd83f217dfe1.tar.xz wireguard-linux-40fb5ed290d49b568d8547ecfdc5bd83f217dfe1.zip |
drm/xe: Return error if drm_buddy_init() fails
Fix warning:
../drivers/gpu/drm/xe/xe_ttm_vram_mgr.c: In function ‘__xe_ttm_vram_mgr_init’:
../drivers/gpu/drm/xe/xe_ttm_vram_mgr.c:340:13: error: variable ‘err’ set but not used [-Werror=unused-but-set-variable]
340 | int err;
| ^~~
Check for the error return and return it, like done by other drivers.
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions