Re: [Qemu-devel] [PATCH] target/ppc: fix compile error in kvmppc_define_rtas_kernel_token()

2019-06-18 Thread David Gibson
On Sat, Jun 15, 2019 at 10:12:52AM +0200, Cédric Le Goater wrote: > 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

[Qemu-devel] [PATCH] target/ppc: fix compile error in kvmppc_define_rtas_kernel_token()

2019-06-15 Thread Cédric Le Goater
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.