diff mbox series

[v3,1/2] util: atcsmu.c: fix typo "%s/hard/hart/"

Message ID 20240801072632.2402741-1-ycliang@andestech.com
State Accepted
Headers show
Series [v3,1/2] util: atcsmu.c: fix typo "%s/hard/hart/" | expand

Commit Message

Leo Liang Aug. 1, 2024, 7:26 a.m. UTC
%s/hard/hart

Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>
---
 lib/utils/sys/atcsmu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anup Patel Aug. 24, 2024, 7:43 a.m. UTC | #1
On Thu, Aug 1, 2024 at 12:56 PM Leo Yu-Chi Liang <ycliang@andestech.com> wrote:
>
> %s/hard/hart
>
> Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com>

LGTM.

Reviewed-by: Anup Patel <anup@brainfault.org>

Applied this patch to the riscv/opensbi repo.

Thanks,
Anup

> ---
>  lib/utils/sys/atcsmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/utils/sys/atcsmu.c b/lib/utils/sys/atcsmu.c
> index 8ddd88d5..676c91f4 100644
> --- a/lib/utils/sys/atcsmu.c
> +++ b/lib/utils/sys/atcsmu.c
> @@ -84,7 +84,7 @@ inline int smu_set_reset_vector(struct smu_data *smu, ulong wakeup_addr,
>
>         if (reset_vector != (u64)wakeup_addr) {
>                 sbi_printf(
> -                       "hard%d (PCS%d): Failed to program the reset vector.\n",
> +                       "hart%d (PCS%d): Failed to program the reset vector.\n",
>                         hartid, hartid + 3);
>                 return SBI_EFAIL;
>         } else
> --
> 2.34.1
>
>
> --
> opensbi mailing list
> opensbi@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/opensbi
diff mbox series

Patch

diff --git a/lib/utils/sys/atcsmu.c b/lib/utils/sys/atcsmu.c
index 8ddd88d5..676c91f4 100644
--- a/lib/utils/sys/atcsmu.c
+++ b/lib/utils/sys/atcsmu.c
@@ -84,7 +84,7 @@  inline int smu_set_reset_vector(struct smu_data *smu, ulong wakeup_addr,
 
 	if (reset_vector != (u64)wakeup_addr) {
 		sbi_printf(
-			"hard%d (PCS%d): Failed to program the reset vector.\n",
+			"hart%d (PCS%d): Failed to program the reset vector.\n",
 			hartid, hartid + 3);
 		return SBI_EFAIL;
 	} else