qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] contrib/vhost-user-gpu: Fix compiler warning when compili


From: Markus Armbruster
Subject: Re: [PATCH v2] contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow
Date: Thu, 12 Oct 2023 17:17:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

"Michael S. Tsirkin" <mst@redhat.com> writes:

> On Thu, Oct 12, 2023 at 02:18:44PM +0200, Markus Armbruster wrote:
>> Thomas Huth <thuth@redhat.com> writes:
>> 
>> > Rename some variables to avoid compiler warnings when compiling
>> > with -Wshadow=local.
>> >
>> > Signed-off-by: Thomas Huth <thuth@redhat.com>
>> > ---
>> >  v2: Renamed the variable to something more unique

[...]

>> v1 renamed to s_ instead, which I find much easier to read.  Michael
>> asked you to change it so it's less likely to break if we pass it a
>> macro that also uses s_.  Unlikely to happen, and would fail safe: build
>> breaks.

[...]

>> I'm going to queue v1.  Michael, if you want me to queue v2 instead, or
>> neither of the two, let me know.
>
> Yea I think v2 is better, queue that please.

Done.  Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]