[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/6] hw/s390x: Clean up global variable shadowing in quiesce_
From: |
Eric Farman |
Subject: |
Re: [PATCH 6/6] hw/s390x: Clean up global variable shadowing in quiesce_powerdown_req() |
Date: |
Wed, 11 Oct 2023 07:58:51 -0400 |
User-agent: |
Evolution 3.48.4 (3.48.4-1.fc38) |
On Mon, 2023-10-09 at 11:47 +0200, Philippe Mathieu-Daudé wrote:
> Fix:
>
> hw/s390x/sclpquiesce.c:90:22: error: declaration shadows a variable
> in the global scope [-Werror,-Wshadow]
> QuiesceNotifier *qn = container_of(n, QuiesceNotifier,
> notifier);
> ^
> hw/s390x/sclpquiesce.c:86:3: note: previous declaration is here
> } qn;
> ^
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> hw/s390x/sclpquiesce.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Eric Farman <farman@linux.ibm.com>
- Re: [PATCH 3/6] hw/display/vga: Clean up global variable shadowing, (continued)