Re: Warnings with GCC 9.3

2020-04-23 Thread Peter Maydell
On Thu, 23 Apr 2020 at 17:19, Pranith Kumar wrote: > > Hello, > > I keep seeing these warnings on the latest master with GCC 9.3: > > /home/pranith/qemu/hw/block/pflash_cfi01.c: In function > ‘pflash_mem_read_with_attrs’: > /home/pranith/qemu/hw/block/pflash_cfi01.c:667:20: note: parameter passin

Warnings with GCC 9.3

2020-04-23 Thread Pranith Kumar
Hello, I keep seeing these warnings on the latest master with GCC 9.3: /home/pranith/qemu/hw/block/pflash_cfi01.c: In function ‘pflash_mem_read_with_attrs’: /home/pranith/qemu/hw/block/pflash_cfi01.c:667:20: note: parameter passing for argument of type ‘MemTxAttrs’ {aka ‘struct MemTxAttrs’} chan