On Mon, Sep 04, 2023 at 05:31:30PM +0100, Daniel P. Berrangé wrote:
> On Mon, Sep 04, 2023 at 06:12:34PM +0200, Philippe Mathieu-Daudé wrote:
> > Fix:
> >
> > softmmu/physmem.c: In function
> > ‘cpu_physical_memory_snapshot_and_clear_dirty’:
> > softmmu/physmem.c:916:27: warning: declaration
On Mon, Sep 04, 2023 at 06:12:34PM +0200, Philippe Mathieu-Daudé wrote:
> Fix:
>
> softmmu/physmem.c: In function
> ‘cpu_physical_memory_snapshot_and_clear_dirty’:
> softmmu/physmem.c:916:27: warning: declaration of ‘offset’ shadows a
> parameter [-Wshadow=compatible-local]
> 916 |
Fix:
softmmu/physmem.c: In function ‘cpu_physical_memory_snapshot_and_clear_dirty’:
softmmu/physmem.c:916:27: warning: declaration of ‘offset’ shadows a
parameter [-Wshadow=compatible-local]
916 | unsigned long offset = page % DIRTY_MEMORY_BLOCK_SIZE;
|