[Intel-gfx] [PATCH] drm/i915: Fix uninitialized mask in intel_device_info_subplatform_init

Dan Carpenter dan.carpenter at oracle.com
Wed Apr 3 08:59:52 UTC 2019


On Wed, Apr 03, 2019 at 09:13:59AM +0100, Tvrtko Ursulin wrote:
> P.S. Also the assert about no junk in high bits did not fire in CI which
> would suggest stack slot was either zero or no more than three low bits
> sets. Strange luck.

GCC happens to initialize it to zero.  It's also why GCC didn't trigger
an uninialized variable warning.  The bug was reported to GCC years ago.

regards,
dan carpenter


More information about the Intel-gfx mailing list