From: Atish Patra Date: Sat, 19 Mar 2022 02:26:33 +0000 (-0700) Subject: RISC-V: Fix a comment typo in riscv_of_parent_hartid() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8a122a66c77034d7dc8f692e1b5c7a3b60c374b3;p=linux.git RISC-V: Fix a comment typo in riscv_of_parent_hartid() This fixes a typo in a comment that is both obvious and went unnoticed. Signed-off-by: Atish Patra Fixes: a9b202606c69 ("RISC-V: Improve /proc/cpuinfo output for ISA extensions") Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/kernel/cpu.c b/arch/riscv/kernel/cpu.c index d2a936195295b..4c303cdc80391 100644 --- a/arch/riscv/kernel/cpu.c +++ b/arch/riscv/kernel/cpu.c @@ -73,7 +73,7 @@ int riscv_of_parent_hartid(struct device_node *node) * Here are the ordering rules of extension naming defined by RISC-V * specification : * 1. All extensions should be separated from other multi-letter extensions - * from other multi-letter extensions by an underscore. + * by an underscore. * 2. The first letter following the 'Z' conventionally indicates the most * closely related alphabetical extension category, IMAFDQLCBKJTPVH. * If multiple 'Z' extensions are named, they should be ordered first