Re: [PATCH 3/4] aspeed/i3c: Rename variable shadowing a local

2023-09-25 Thread Andrew Jeffery
On Sat, 23 Sep 2023, at 03:58, Philippe Mathieu-Daudé wrote: > On 22/9/23 17:59, Cédric Le Goater wrote: >> to fix warning : >> >>../hw/i3c/aspeed_i3c.c: In function ‘aspeed_i3c_realize’: >>../hw/i3c/aspeed_i3c.c:1959:17: warning: declaration of ‘dev’ shadows a >> parameter

Re: [PATCH 3/4] aspeed/i3c: Rename variable shadowing a local

2023-09-24 Thread Philippe Mathieu-Daudé
On 22/9/23 17:59, Cédric Le Goater wrote: to fix warning : ../hw/i3c/aspeed_i3c.c: In function ‘aspeed_i3c_realize’: ../hw/i3c/aspeed_i3c.c:1959:17: warning: declaration of ‘dev’ shadows a parameter [-Wshadow=local] 1959 | Object *dev = OBJECT(>devices[i]); |

[PATCH 3/4] aspeed/i3c: Rename variable shadowing a local

2023-09-22 Thread Cédric Le Goater
to fix warning : ../hw/i3c/aspeed_i3c.c: In function ‘aspeed_i3c_realize’: ../hw/i3c/aspeed_i3c.c:1959:17: warning: declaration of ‘dev’ shadows a parameter [-Wshadow=local] 1959 | Object *dev = OBJECT(>devices[i]); | ^~~ ../hw/i3c/aspeed_i3c.c:1942:45: