[PATCH 07/15] sandbox: Fix comment for nomap_sysmem() function
Simon Glass
sjg at chromium.org
Mon Oct 28 13:47:58 CET 2024
This should say 'cast' rather than 'case', so fix it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/sandbox/include/asm/io.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
2.43.0
More information about the U-Boot
mailing list