Re: Build regressions/improvements in v5.6

From: Geert Uytterhoeven
Date: Mon Mar 30 2020 - 05:05:30 EST


On Mon, Mar 30, 2020 at 11:00 AM Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> JFYI, when comparing v5.6[1] to v5.6-rc7[3], the summaries are:
> - build errors: +0/-0
> - build warnings: +1/-0

FTR, this is the silly

In function 'memcpy_and_pad.constprop',
inlined from 'nvmet_execute_identify_ctrl' at
/kisskb/src/drivers/nvme/target/admin-cmd.c:346:2,
inlined from 'nvmet_execute_identify' at
/kisskb/src/drivers/nvme/target/admin-cmd.c:617:10:
/kisskb/src/arch/m68k/include/asm/string.h:72:25: warning:
'__builtin_memcpy' forming offset 8 is out of the bounds [0, 7]
[-Warray-bounds]

which happens every point release, when strlen(UTS_RELEASE) is
smaller than 8.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds