Messages in this thread Patch in this message | | | From | Lukas Bulwahn <> | Subject | [PATCH] asm-generic: correct reference to GENERIC_LIB_DEVMEM_IS_ALLOWED | Date | Wed, 6 Oct 2021 16:58:59 +0200 |
| |
Commit 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") introduces the config symbol GENERIC_LIB_DEVMEM_IS_ALLOWED, but then falsely refers to CONFIG_GENERIC_DEVMEM_IS_ALLOWED (note the missing LIB in the reference) in ./include/asm-generic/io.h.
Luckily, ./scripts/checkkconfigsymbols.py warns on non-existing configs:
GENERIC_DEVMEM_IS_ALLOWED Referencing files: include/asm-generic/io.h
Correct the name of the config to the intended one.
Fixes: 527701eda5f1 ("lib: Add a generic version of devmem_is_allowed()") Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> --- include/asm-generic/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index cc7338f9e0d1..6364174504d7 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -1125,7 +1125,7 @@ static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer, } #endif -#ifndef CONFIG_GENERIC_DEVMEM_IS_ALLOWED +#ifndef CONFIG_GENERIC_LIB_DEVMEM_IS_ALLOWED extern int devmem_is_allowed(unsigned long pfn); #endif -- 2.26.2
| |