Thomas Huth <[email protected]> writes: > On 04/10/2023 12.58, Markus Armbruster wrote: >> Thomas Huth <[email protected]> writes: >> >>> "len" is used as parameter of the function virtio_write_config() >>> and as a local variable, so this causes a compiler warning >>> when compiling with "-Wshadow" and can be confusing for the reader. >>> Rename the local variable to "caplen" to avoid this problem. >>> >>> Signed-off-by: Thomas Huth <[email protected]>
[...] >> I see the same warning in virtio_read_config(). Care to patch that, >> too? > > Patch is already on the list: > https://lore.kernel.org/qemu-devel/[email protected]/ Awesome, thanks!
