Re: [PATCH 3/5] arm/allwinner-a10: fix format-overflow warning

2022-03-28 Thread Peter Maydell
On Mon, 28 Mar 2022 at 09:48, wrote: > > From: Marc-André Lureau > > ../hw/arm/allwinner-a10.c: In function ‘aw_a10_realize’: > ../hw/arm/allwinner-a10.c:135:35: error: ‘%d’ directive writing between 1 and > 11 bytes into a region of size 8 [-Werror=format-overflow=] > 135 | sprint

[PATCH 3/5] arm/allwinner-a10: fix format-overflow warning

2022-03-28 Thread marcandre . lureau
From: Marc-André Lureau ../hw/arm/allwinner-a10.c: In function ‘aw_a10_realize’: ../hw/arm/allwinner-a10.c:135:35: error: ‘%d’ directive writing between 1 and 11 bytes into a region of size 8 [-Werror=format-overflow=] 135 | sprintf(bus, "usb-bus.%d", i); |