Cc'ing qemu-trivial@ for this single patch.
On 3/6/21 12:54 AM, Philippe Mathieu-Daudé wrote:
> There is no reason to not have memory_region_to_absolute_addr()
> work with a const MemoryRegion. Else we get:
>
> softmmu/memory.c: error: passing argument 1 of
> ‘memory_region_to_absolute_addr’ dis
There is no reason to not have memory_region_to_absolute_addr()
work with a const MemoryRegion. Else we get:
softmmu/memory.c: error: passing argument 1 of ‘memory_region_to_absolute_addr’
discards ‘const’ qualifier from pointer target type
[-Werror=discarded-qualifiers]
| myaddr = mem