NetBSD/src ixJCOnD — sys/external/bsd/drm2/dist/drm/amd/amdgpu amdgpu_display.c
Rearrange code in amdgpu_display.c to prevent build error GCC reports that stat can be uninitialized when used, prevent this with changing the construction of the code a little bit. Keep original indent in order to not generate diff with upstream. Solution suggested by <mrg> Detected with GCC7 when building NetBSD/i386 with kUBSan.
Version | Delta | File | |
---|---|---|---|
1.5 | +5 | -3 | sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_display.c |
+5 | -3 | 1 files |