x86/ibt: Avoid duplicate ENDBR in __put_user_nocheck*()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 2 Aug 2023 10:55:47 +0000 (12:55 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 12 Sep 2023 15:51:24 +0000 (17:51 +0200)
commit7575e5a35267983dcbeb1e0d3a49d21ae3cf0b82
treeb8cf79901d73d92cc5078b13af30571cd3d160b8
parent25e73b7e3f72a25aa30cbb2eecb49036e0acf066
x86/ibt: Avoid duplicate ENDBR in __put_user_nocheck*()

Commit cb855971d717 ("x86/putuser: Provide room for padding") changed
__put_user_nocheck_*() into proper functions but failed to note that
SYM_FUNC_START() already provides ENDBR, rendering the explicit ENDBR
superfluous.

Fixes: cb855971d717 ("x86/putuser: Provide room for padding")
Reported-by: David Kaplan <David.Kaplan@amd.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230802110323.086971726@infradead.org
arch/x86/lib/putuser.S