[PATCH] hw/arm/sbsa-ref: Fixed cpu type error message typo.

Shuuichirou Ishii posted 1 patch 2 years, 6 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20211008063604.670699-1-ishii.shuuichir@fujitsu.com
Maintainers: Peter Maydell <peter.maydell@linaro.org>, Leif Lindholm <leif@nuviainc.com>, Radoslaw Biernacki <rad@semihalf.com>
hw/arm/sbsa-ref.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hw/arm/sbsa-ref: Fixed cpu type error message typo.
Posted by Shuuichirou Ishii 2 years, 6 months ago
Signed-off-by: Shuuichirou Ishii <ishii.shuuichir@fujitsu.com>
---
 hw/arm/sbsa-ref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
index 509c5f09b4..358714bd3e 100644
--- a/hw/arm/sbsa-ref.c
+++ b/hw/arm/sbsa-ref.c
@@ -670,7 +670,7 @@ static void sbsa_ref_init(MachineState *machine)
     int n, sbsa_max_cpus;
 
     if (!cpu_type_valid(machine->cpu_type)) {
-        error_report("mach-virt: CPU type %s not supported", machine->cpu_type);
+        error_report("sbsa-ref: CPU type %s not supported", machine->cpu_type);
         exit(1);
     }
 
-- 
2.27.0


Re: [PATCH] hw/arm/sbsa-ref: Fixed cpu type error message typo.
Posted by Alex Bennée 2 years, 6 months ago
Shuuichirou Ishii <ishii.shuuichir@fujitsu.com> writes:

> Signed-off-by: Shuuichirou Ishii <ishii.shuuichir@fujitsu.com>
> ---
>  hw/arm/sbsa-ref.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
> index 509c5f09b4..358714bd3e 100644
> --- a/hw/arm/sbsa-ref.c
> +++ b/hw/arm/sbsa-ref.c
> @@ -670,7 +670,7 @@ static void sbsa_ref_init(MachineState *machine)
>      int n, sbsa_max_cpus;
>  
>      if (!cpu_type_valid(machine->cpu_type)) {
> -        error_report("mach-virt: CPU type %s not supported", machine->cpu_type);
> +        error_report("sbsa-ref: CPU type %s not supported", machine->cpu_type);
>          exit(1);
>      }

copy and paste detected ;-)

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée

Re: [PATCH] hw/arm/sbsa-ref: Fixed cpu type error message typo.
Posted by wangyanan (Y) 2 years, 6 months ago
On 2021/10/8 14:36, Shuuichirou Ishii wrote:
> Signed-off-by: Shuuichirou Ishii <ishii.shuuichir@fujitsu.com>
> ---
>   hw/arm/sbsa-ref.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
> index 509c5f09b4..358714bd3e 100644
> --- a/hw/arm/sbsa-ref.c
> +++ b/hw/arm/sbsa-ref.c
> @@ -670,7 +670,7 @@ static void sbsa_ref_init(MachineState *machine)
>       int n, sbsa_max_cpus;
>   
>       if (!cpu_type_valid(machine->cpu_type)) {
> -        error_report("mach-virt: CPU type %s not supported", machine->cpu_type);
> +        error_report("sbsa-ref: CPU type %s not supported", machine->cpu_type);
>           exit(1);
>       }
>   
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>


Re: [PATCH] hw/arm/sbsa-ref: Fixed cpu type error message typo.
Posted by Richard Henderson 2 years, 6 months ago
On 10/7/21 11:36 PM, Shuuichirou Ishii wrote:
> Signed-off-by: Shuuichirou Ishii <ishii.shuuichir@fujitsu.com>
> ---
>   hw/arm/sbsa-ref.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c
> index 509c5f09b4..358714bd3e 100644
> --- a/hw/arm/sbsa-ref.c
> +++ b/hw/arm/sbsa-ref.c
> @@ -670,7 +670,7 @@ static void sbsa_ref_init(MachineState *machine)
>       int n, sbsa_max_cpus;
>   
>       if (!cpu_type_valid(machine->cpu_type)) {
> -        error_report("mach-virt: CPU type %s not supported", machine->cpu_type);
> +        error_report("sbsa-ref: CPU type %s not supported", machine->cpu_type);
>           exit(1);
>       }

Queued to target-arm.next.

r~