Module Name: src Committed By: kamil Date: Sat Feb 23 19:56:51 UTC 2019
Modified Files: src/sys/external/bsd/drm2/dist/drm/amd/amdgpu: amdgpu_display.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \ src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_display.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.