linux-next: build failure after merge of the drm tree

From: broonie
Date: Fri Sep 30 2022 - 07:15:06 EST


Hi all,

After merging the drm tree, today's linux-next build (x86_64
allmodconfig) failed like this:

/tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function 'dc_stream_remove_writeback':
/tmp/next/build/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:527:55: error: array subscript [0, 0] is outside array bounds of 'struct dc_writeback_info[1]' [-Werror=array-bounds]
527 | stream->writeback_info[j] = stream->writeback_info[i];
| ~~~~~~~~~~~~~~~~~~~~~~^~~
cc1: all warnings being treated as errors

Caused by

5d8c3e836fc224 ("drm/amd/display: fix array-bounds error in dc_stream_remove_writeback()")

I have reverted that commit for today.