summaryrefslogtreecommitdiffstats
path: root/scripts/archive-source.sh
diff options
context:
space:
mode:
authorMarc-André Lureau2022-04-20 15:25:57 +0200
committerMarc-André Lureau2022-04-21 15:03:51 +0200
commitaaea18d5d697d94ba63122a644690b9a9e7db007 (patch)
treeb54cc20cbea4cb31649b0d55f792420b7e8ced24 /scripts/archive-source.sh
parentarm/digic: replace snprintf() with g_strdup_printf() (diff)
downloadqemu-aaea18d5d697d94ba63122a644690b9a9e7db007.tar.gz
qemu-aaea18d5d697d94ba63122a644690b9a9e7db007.tar.xz
qemu-aaea18d5d697d94ba63122a644690b9a9e7db007.zip
arm/allwinner-a10: replace snprintf() with g_strdup_printf()
Also fixes a GCC 12.0.1 false-positive: ../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); | ^~ Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20220420132624.2439741-15-marcandre.lureau@redhat.com>
Diffstat (limited to 'scripts/archive-source.sh')
0 files changed, 0 insertions, 0 deletions