Re: [PATCH] hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

2023-10-07 Thread Jason Wang
On Wed, Oct 4, 2023 at 4:57 PM Michael S. Tsirkin wrote: > > On Wed, Oct 04, 2023 at 10:49:39AM +0200, Thomas Huth wrote: > > Rename the innermost local variables to avoid compiler warnings > > with "-Wshadow". > > > > Signed-off-by: Thomas Huth > > Reviewed-by: Michael S. Tsirkin Acked-by: Jas

Re: [PATCH] hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

2023-10-04 Thread Markus Armbruster
Thomas Huth writes: > Rename the innermost local variables to avoid compiler warnings > with "-Wshadow". > > Signed-off-by: Thomas Huth Queued. Thanks!

[PATCH] hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

2023-10-04 Thread Thomas Huth
Rename the innermost local variables to avoid compiler warnings with "-Wshadow". Signed-off-by: Thomas Huth --- hw/net/vhost_net.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/net/vhost_net.c b/hw/net/vhost_net.c index 57427a3997..e8e1661646 100644 --- a/hw/net/

Re: [PATCH] hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

2023-10-04 Thread Michael S. Tsirkin
On Wed, Oct 04, 2023 at 10:49:39AM +0200, Thomas Huth wrote: > Rename the innermost local variables to avoid compiler warnings > with "-Wshadow". > > Signed-off-by: Thomas Huth Reviewed-by: Michael S. Tsirkin feel free to merge > --- > hw/net/vhost_net.c | 8 > 1 file changed, 4 ins