NetBSD/src ixJCOnDsys/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.
VersionDeltaFile
1.5+5-3sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_display.c
+5-31 files

UnifiedSplitRaw