Skip to contentSkip to conversation

hw/cxl/cxl-host: Fix an error message typo

PATCH Applied Hoa Nguyen 3 participants 3 messages Nov 27, 2022 – Jan 16, 2023

lore
Share & tools
lore

Hoa Nguyen

author
#0 lore raw

PATCH 1/1 hw/cxl/cxl-host: Fix an error message typo

---
 hw/cxl/cxl-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/cxl/cxl-host.c +1 -1
index 1adf61231a..3c1ec8732a 100644
@@ -47,7 +47,7 @@ static void cxl_fixed_memory_window_config(CXLState *cxl_state,
 
     if (object->size % (256 * MiB)) {
         error_setg(errp,
-                   "Size of a CXL fixed memory window must my a multiple of 256MiB");
+                   "Size of a CXL fixed memory window must be a multiple of 256MiB");
         return;
     }
     fw->size = object->size;
Signature · 1 line
2.30.2
#2 lore raw
In reply to Hoa Nguyen

Le 27/11/2022 à 04:22, Hoa Nguyen a écrit :

Quoted 10 lines
---
  hw/cxl/cxl-host.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
hw/cxl/cxl-host.c +0 -0
index 1adf61231a..3c1ec8732a 100644

hw/cxl/cxl-host.c static void cxl_fixed_memory_window_config(CXLState *cxl_state, · line 53

Quoted 8 lines
hw/cxl/cxl-host.c +1 -1
@@ -47,7 +47,7 @@ static void cxl_fixed_memory_window_config(CXLState *cxl_state,
 
      if (object->size % (256 * MiB)) {
          error_setg(errp,
-                   "Size of a CXL fixed memory window must my a multiple of 256MiB");
+                   "Size of a CXL fixed memory window must be a multiple of 256MiB");
          return;
      }
      fw->size = object->size;

Applied to my trivial-patches branch.

Thanks,
Laurent