On 14/11/2023 17.58, Michael Tokarev wrote:
Fixes: 6c1b28e9e405 "memory-device: Support empty memory devices" Cc: David Hildenbrand <[email protected]> Signed-off-by: Michael Tokarev <[email protected]> --- hw/mem/memory-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/hw/mem/memory-device.c b/hw/mem/memory-device.c index e0704b8dc3..a1b1af26bc 100644 --- a/hw/mem/memory-device.c +++ b/hw/mem/memory-device.c @@ -29,7 +29,7 @@ static bool memory_device_is_empty(const MemoryDeviceState *md) /* dropping const here is fine as we don't touch the memory region */ mr = mdc->get_memory_region((MemoryDeviceState *)md, &local_err); if (local_err) { - /* Not empty, we'll report errors later when ontaining the MR again. */ + /* Not empty, we'll report errors later when containing the MR again. */ error_free(local_err); return false; }
Reviewed-by: Thomas Huth <[email protected]>
