Re: [Qemu-devel] [PATCH 2/5] hw/intc/exynos4210_gic: Use more meaningful name for local variable

2017-03-02 Thread Peter Maydell
On 1 March 2017 at 18:26, Krzysztof Kozlowski wrote: > There are to SysBusDevice variables in exynos4210_gic_realize() > function: one for the device itself and second for arm_gic device. Add > a prefix "gic" to the second one so it will be easier to understand the > code. > >

[Qemu-devel] [PATCH 2/5] hw/intc/exynos4210_gic: Use more meaningful name for local variable

2017-03-01 Thread Krzysztof Kozlowski
There are to SysBusDevice variables in exynos4210_gic_realize() function: one for the device itself and second for arm_gic device. Add a prefix "gic" to the second one so it will be easier to understand the code. While at it, put local uninitialized 'i' variable at the end, next to other