Re: [Qemu-devel] [PATCH] arm: Add const attribute to function parameter

2011-06-15 Thread Peter Maydell
On 15 June 2011 22:22, Stefan Weil wrote: > Parameter 'info' is const, so add the missing > attribute. > > Cc: Andrzej Zaborowski > Signed-off-by: Stefan Weil You could take this a step further and add 'const' to the local variable info in do_cpu_reset() and also to the boot_info field in CPUAR

[Qemu-devel] [PATCH] arm: Add const attribute to function parameter

2011-06-15 Thread Stefan Weil
Parameter 'info' is const, so add the missing attribute. Cc: Andrzej Zaborowski Signed-off-by: Stefan Weil --- hw/arm-misc.h |2 +- hw/arm_boot.c |4 ++-- hw/nseries.c |4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/arm-misc.h b/hw/arm-misc.h index 010acb