2023-07-23 17:20:56

by Yuan Tan

[permalink] [raw]
Subject: [PATCH] riscv: alternatives: fix a typo in comment

In the usage of ALTERNATIVE, "always" is misspelled as "alwyas".

Signed-off-by: Yuan Tan <[email protected]>
---
arch/riscv/include/asm/alternative-macros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/include/asm/alternative-macros.h b/arch/riscv/include/asm/alternative-macros.h
index b8c55fb3ab2c..721ec275ce57 100644
--- a/arch/riscv/include/asm/alternative-macros.h
+++ b/arch/riscv/include/asm/alternative-macros.h
@@ -146,7 +146,7 @@
* vendor_id: The CPU vendor ID.
* patch_id: The patch ID (erratum ID or cpufeature ID).
* CONFIG_k: The Kconfig of this patch ID. When Kconfig is disabled, the old
- * content will alwyas be executed.
+ * content will always be executed.
*/
#define ALTERNATIVE(old_content, new_content, vendor_id, patch_id, CONFIG_k) \
_ALTERNATIVE_CFG(old_content, new_content, vendor_id, patch_id, CONFIG_k)
--
2.34.1



2023-07-24 08:25:37

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH] riscv: alternatives: fix a typo in comment

On Mon, Jul 24, 2023 at 12:51:55AM +0800, Yuan Tan wrote:
> In the usage of ALTERNATIVE, "always" is misspelled as "alwyas".
>
> Signed-off-by: Yuan Tan <[email protected]>

Reviewed-by: Conor Dooley <[email protected]>

Thanks,
Conor.


Attachments:
(No filename) (257.00 B)
signature.asc (235.00 B)
Download all attachments
Subject: Re: [PATCH] riscv: alternatives: fix a typo in comment

Hello:

This patch was applied to riscv/linux.git (for-next)
by Palmer Dabbelt <[email protected]>:

On Mon, 24 Jul 2023 00:51:55 +0800 you wrote:
> In the usage of ALTERNATIVE, "always" is misspelled as "alwyas".
>
> Signed-off-by: Yuan Tan <[email protected]>
> ---
> arch/riscv/include/asm/alternative-macros.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- riscv: alternatives: fix a typo in comment
https://git.kernel.org/riscv/c/174e8ac0272d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



2023-08-09 15:19:12

by Palmer Dabbelt

[permalink] [raw]
Subject: Re: [PATCH] riscv: alternatives: fix a typo in comment


On Mon, 24 Jul 2023 00:51:55 +0800, Yuan Tan wrote:
> In the usage of ALTERNATIVE, "always" is misspelled as "alwyas".
>
>

Applied, thanks!

[1/1] riscv: alternatives: fix a typo in comment
https://git.kernel.org/palmer/c/174e8ac0272d

Best regards,
--
Palmer Dabbelt <[email protected]>