Skip to content

Commit 65fac65

Browse files
Leo Yu-Chi Liangavpatel
authored andcommitted
include: sbi_scratch: fix typo sbi_scratch -> HART id
Fix "sbi_scratch" to "HART id" to better reflect its purpose. Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20260107032602.1143819-1-ycliang@andestech.com Signed-off-by: Anup Patel <anup@brainfault.org>
1 parent e7fa66c commit 65fac65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/sbi/sbi_scratch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ extern u32 sbi_scratch_hart_count;
186186
/** HART index to HART id table */
187187
extern u32 hartindex_to_hartid_table[];
188188

189-
/** Get sbi_scratch from HART index */
189+
/** Get HART id from HART index */
190190
#define sbi_hartindex_to_hartid(__hartindex) \
191191
({ \
192192
((__hartindex) < SBI_HARTMASK_MAX_BITS) ? \

0 commit comments

Comments
 (0)