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

Hoa Nguyen posted 1 patch 1 year, 4 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221127032220.2649-1-hoanguyen@ucdavis.edu
Maintainers: Ben Widawsky <ben.widawsky@intel.com>, Jonathan Cameron <jonathan.cameron@huawei.com>
hw/cxl/cxl-host.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hw/cxl/cxl-host: Fix an error message typo
Posted by Hoa Nguyen 1 year, 4 months ago
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
---
 hw/cxl/cxl-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/cxl/cxl-host.c b/hw/cxl/cxl-host.c
index 1adf61231a..3c1ec8732a 100644
--- a/hw/cxl/cxl-host.c
+++ b/hw/cxl/cxl-host.c
@@ -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;
-- 
2.30.2
Re: [PATCH] hw/cxl/cxl-host: Fix an error message typo
Posted by Laurent Vivier 1 year, 3 months ago
Le 27/11/2022 à 04:22, Hoa Nguyen a écrit :
> Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
> ---
>   hw/cxl/cxl-host.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/cxl/cxl-host.c b/hw/cxl/cxl-host.c
> index 1adf61231a..3c1ec8732a 100644
> --- a/hw/cxl/cxl-host.c
> +++ b/hw/cxl/cxl-host.c
> @@ -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


Re: [PATCH] hw/cxl/cxl-host: Fix an error message typo
Posted by Philippe Mathieu-Daudé 1 year, 4 months ago
On 27/11/22 04:22, Hoa Nguyen wrote:
> Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
> ---
>   hw/cxl/cxl-host.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>