summaryrefslogtreecommitdiff
path: root/include/linux/objagg.h
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2023-05-23 16:50:19 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-21 19:34:42 +0300
commit35cbfe561912874a1f0d4b2ceb5fe890f0f58e46 (patch)
treef1173635dc2888c31bc1dfd6d136ac2a4ec113d8 /include/linux/objagg.h
parent1e80d0c3c44806e6ff885102a937ea838a01f560 (diff)
downloadlinux-35cbfe561912874a1f0d4b2ceb5fe890f0f58e46.tar.xz
drm/xe: Fix uninitialized variables
Using uninitialized variables leads to undefined behavior. Moreover, it causes the compiler to complain with: ../drivers/gpu/drm/xe/xe_vm.c:3265:40: error: variable 'vma' is uninitialized when used here [-Werror,-Wuninitialized] ../drivers/gpu/drm/xe/xe_rtp.c:118:36: error: variable 'i' is uninitialized when used here [-Werror,-Wuninitialized] ../drivers/gpu/drm/xe/xe_mocs.c:449:3: error: variable 'flags' is uninitialized when used here [-Werror,-Wuninitialized] Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://lore.kernel.org/r/20230523135020.345596-1-michal@hardline.pl Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'include/linux/objagg.h')
0 files changed, 0 insertions, 0 deletions