On 14/11/2023 17.58, Michael Tokarev wrote:
Fixes: 6c1b28e9e405 "memory-device: Support empty memory devices"
Cc: David Hildenbrand <da...@redhat.com>
Signed-off-by: Michael Tokarev <m...@tls.msk.ru>
---
  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 <th...@redhat.com>


Reply via email to