Re: linux-next: build failure after merge of the kspp-gustavo tree

From: Gustavo A. R. Silva
Date: Thu Nov 16 2023 - 19:39:09 EST





arch/powerpc/lib/sstep.c:289:23: error: writing 8 bytes into a region of size 0 [-Werror=stringop-overflow=]
289 | up[2] = byterev_8(up[1]);
| ~~~~~~^~~~~~~~~~~~~~~~~~
arch/powerpc/lib/sstep.c: In function 'emulate_loadstore':
arch/powerpc/lib/sstep.c:681:11: note: at offset 16 into destination object 'u' of size 16
681 | } u = {};
| ^
arch/powerpc/lib/sstep.c:681:11: note: at offset 16 into destination object 'u' of size 16
arch/powerpc/lib/sstep.c:681:11: note: at offset 16 into destination object 'u' of size 16
cc1: all warnings being treated as errors

Caused by commit

c94c73da81d7 ("Makefile: Enable -Wstringop-overflow globally")

I have used te kspp-gustavo tree from next-20231116 for today.

I'll address those issues right away.

Thanks for the report, Stephen.
--
Gustavo