On 4/6/20 12:46 PM, Philippe Mathieu-Daudé wrote:
Coccinelle reported:
$ spatch ... --timeout 60 --sp-file \
scripts/coccinelle/simplify-init-realize-error_propagate.cocci
HANDLING: ./hw/arm/allwinner-a10.c
>>> possible moves from aw_a10_init() to aw_a10_realize() in
./hw/arm/allwinner-a10.c:77
Move the calls using &error_fatal which don't depend of input
s/of/on/ (here, and in many subsequent messages in the series)
updated before realize() to init().
Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
---
hw/arm/allwinner-a10.c | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org