Compiling qemu using GCC 11 we got several new warnings. To allow build with --enable-werror, we need to solve issues generating these warnings. Signed-of-by: Miroslav Rezanina <mreza...@redhat.com>
v2: - Patch 2 rewrite to use strpadcpy - removed Patch 3 (different version sent by Philippe Mathieu-Daudé) v3: - Fixed patch commit logs (no cod changes) Miroslav Rezanina (2): Fix net.c warning on GCC 11 s390x: Use strpadcpy for copying vm name net/eth.c | 3 +++ target/s390x/kvm.c | 12 +++++------- target/s390x/misc_helper.c | 7 +++++-- 3 files changed, 13 insertions(+), 9 deletions(-) -- 2.18.4