aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/xics.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2019-06-15 10:12:52 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-07-02 09:43:58 +1000
commit7701aeed0f0162fe9f6d1bb1ccba158b55a2ded4 (patch)
tree89753e78aca92f4e1c804dcf97cacf5c5a258c84 /hw/intc/xics.c
parent7abc0c6d35306a41a48eda7ab2b7b2d51f32f86b (diff)
downloadqemu-7701aeed0f0162fe9f6d1bb1ccba158b55a2ded4.zip
qemu-7701aeed0f0162fe9f6d1bb1ccba158b55a2ded4.tar.gz
qemu-7701aeed0f0162fe9f6d1bb1ccba158b55a2ded4.tar.bz2
target/ppc: fix compile error in kvmppc_define_rtas_kernel_token()
gcc9 reports : In file included from /usr/include/string.h:494, from ./include/qemu/osdep.h:101, from ./target/ppc/kvm.c:17: In function ‘strncpy’, inlined from ‘kvmppc_define_rtas_kernel_token’ at ./target/ppc/kvm.c:2648:5: /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 120 equals destination size [-Werror=stringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20190615081252.28602-1-clg@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/xics.c')
0 files changed, 0 insertions, 0 deletions