Messages in this thread Patch in this message | | | From | Lukas Bulwahn <> | Subject | [PATCH 7/9] x86/uaccess: adjust comment for endif of CONFIG_CC_HAS_ASM_GOTO_OUTPUT | Date | Tue, 3 Aug 2021 13:35:29 +0200 |
| |
Commit 865c50e1d279 ("x86/uaccess: utilize CONFIG_CC_HAS_ASM_GOTO_OUTPUT") adds an ifdef CONFIG_CC_HAS_ASM_GOTO_OUTPUT, and a comment on the corresponding endif. However, it refers slightly mismatching to CONFIG_CC_ASM_GOTO_OUTPUT instead.
Hence, ./scripts/checkkconfigsymbols.py warns:
CC_ASM_GOTO_OUTPUT Referencing files: arch/x86/include/asm/uaccess.h
Adjust the comment on endif to the actual ifdef condition.
Suggested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> --- arch/x86/include/asm/uaccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index c9fa7be3df82..e7fc2c515e08 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h @@ -411,7 +411,7 @@ do { \ : [umem] "m" (__m(addr)), \ [efault] "i" (-EFAULT), "0" (err)) -#endif // CONFIG_CC_ASM_GOTO_OUTPUT +#endif // CONFIG_CC_HAS_ASM_GOTO_OUTPUT /* FIXME: this hack is definitely wrong -AK */ struct __large_struct { unsigned long buf[100]; }; -- 2.17.1
| |