summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-28 13:47:58 +0100
committerTom Rini <trini@konsulko.com>2024-11-03 21:27:13 -0600
commitdc24948a457e2f5cb7c518a9458be851b8b7e9ea (patch)
treebde27e7e9ab4265b8ce60b67243b7c9ee06c61a8
parent5400c4bc0528b1f2bebd97de1deed62cbd65039b (diff)
sandbox: Fix comment for nomap_sysmem() function
This should say 'cast' rather than 'case', so fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--arch/sandbox/include/asm/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/include/asm/io.h b/arch/sandbox/include/asm/io.h
index a23bd64994a..3d09170063f 100644
--- a/arch/sandbox/include/asm/io.h
+++ b/arch/sandbox/include/asm/io.h
@@ -235,7 +235,7 @@ static inline void unmap_sysmem(const void *vaddr)
* nomap_sysmem() - pass through an address unchanged
*
* This is used to indicate an address which should NOT be mapped, e.g. in
- * SMBIOS tables. Using this function instead of a case shows that the sandbox
+ * SMBIOS tables. Using this function instead of a cast shows that the sandbox
* conversion has been done
*/
static inline void *nomap_sysmem(phys_addr_t paddr, unsigned long len)