* [PATCH] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
@ 2023-08-08 18:23 Jinghao Jia
2023-08-08 21:03 ` Randy Dunlap
2023-08-08 21:37 ` [tip: x86/urgent] " tip-bot2 for Jinghao Jia
0 siblings, 2 replies; 3+ messages in thread
From: Jinghao Jia @ 2023-08-08 18:23 UTC (permalink / raw)
To: linux-kernel; +Cc: tglx, mingo, bp, dave.hansen, x86, hpa, Jinghao Jia
The BUILD_VDSO macro was incorrectly spelled as BULID_VDSO in
asm/linkage.h. This causes the !defined(BULID_VDSO) directive to always
evaluate to true.
Correct the spelling to BUILD_VDSO.
Fixes: bea75b33895f ("x86/Kconfig: Introduce function padding")
Signed-off-by: Jinghao Jia <jinghao@linux.ibm.com>
---
arch/x86/include/asm/linkage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h
index 0953aa32a324..97a3de7892d3 100644
--- a/arch/x86/include/asm/linkage.h
+++ b/arch/x86/include/asm/linkage.h
@@ -21,7 +21,7 @@
#define FUNCTION_PADDING
#endif
-#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BULID_VDSO)
+#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BUILD_VDSO)
# define __FUNC_ALIGN __ALIGN; FUNCTION_PADDING
#else
# define __FUNC_ALIGN __ALIGN
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
2023-08-08 18:23 [PATCH] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h Jinghao Jia
@ 2023-08-08 21:03 ` Randy Dunlap
2023-08-08 21:37 ` [tip: x86/urgent] " tip-bot2 for Jinghao Jia
1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2023-08-08 21:03 UTC (permalink / raw)
To: Jinghao Jia, linux-kernel; +Cc: tglx, mingo, bp, dave.hansen, x86, hpa
On 8/8/23 11:23, Jinghao Jia wrote:
> The BUILD_VDSO macro was incorrectly spelled as BULID_VDSO in
> asm/linkage.h. This causes the !defined(BULID_VDSO) directive to always
> evaluate to true.
>
> Correct the spelling to BUILD_VDSO.
>
> Fixes: bea75b33895f ("x86/Kconfig: Introduce function padding")
> Signed-off-by: Jinghao Jia <jinghao@linux.ibm.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> arch/x86/include/asm/linkage.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h
> index 0953aa32a324..97a3de7892d3 100644
> --- a/arch/x86/include/asm/linkage.h
> +++ b/arch/x86/include/asm/linkage.h
> @@ -21,7 +21,7 @@
> #define FUNCTION_PADDING
> #endif
>
> -#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BULID_VDSO)
> +#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BUILD_VDSO)
> # define __FUNC_ALIGN __ALIGN; FUNCTION_PADDING
> #else
> # define __FUNC_ALIGN __ALIGN
--
~Randy
^ permalink raw reply [flat|nested] 3+ messages in thread
* [tip: x86/urgent] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
2023-08-08 18:23 [PATCH] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h Jinghao Jia
2023-08-08 21:03 ` Randy Dunlap
@ 2023-08-08 21:37 ` tip-bot2 for Jinghao Jia
1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Jinghao Jia @ 2023-08-08 21:37 UTC (permalink / raw)
To: linux-tip-commits
Cc: Jinghao Jia, Borislav Petkov (AMD),
Thomas Gleixner, Randy Dunlap, stable, x86, linux-kernel
The following commit has been merged into the x86/urgent branch of tip:
Commit-ID: 7324f74d39531262b8e362f228b46512e6bee632
Gitweb: https://git.kernel.org/tip/7324f74d39531262b8e362f228b46512e6bee632
Author: Jinghao Jia <jinghao@linux.ibm.com>
AuthorDate: Tue, 08 Aug 2023 14:23:53 -04:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Tue, 08 Aug 2023 23:13:17 +02:00
x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h
The BUILD_VDSO macro was incorrectly spelled as BULID_VDSO in
asm/linkage.h. This causes the !defined(BULID_VDSO) directive to always
evaluate to true.
Correct the spelling to BUILD_VDSO.
Fixes: bea75b33895f ("x86/Kconfig: Introduce function padding")
Signed-off-by: Jinghao Jia <jinghao@linux.ibm.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Cc: <stable@kernel.org>
Link: https://lore.kernel.org/r/20230808182353.76218-1-jinghao@linux.ibm.com
---
arch/x86/include/asm/linkage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h
index 0953aa3..97a3de7 100644
--- a/arch/x86/include/asm/linkage.h
+++ b/arch/x86/include/asm/linkage.h
@@ -21,7 +21,7 @@
#define FUNCTION_PADDING
#endif
-#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BULID_VDSO)
+#if (CONFIG_FUNCTION_ALIGNMENT > 8) && !defined(__DISABLE_EXPORTS) && !defined(BUILD_VDSO)
# define __FUNC_ALIGN __ALIGN; FUNCTION_PADDING
#else
# define __FUNC_ALIGN __ALIGN
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-08-08 21:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-08 18:23 [PATCH] x86/linkage: Fix typo of BUILD_VDSO in asm/linkage.h Jinghao Jia
2023-08-08 21:03 ` Randy Dunlap
2023-08-08 21:37 ` [tip: x86/urgent] " tip-bot2 for Jinghao Jia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).