Skip to contentSkip to conversation

core/urgent fixes

GIT PULL Merged Ingo Molnar 2 participants 2 messages Apr 12, 2019 – Apr 13, 2019 objtool

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest core-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus

# HEAD: 4fa5ecda2bf96be7464eb406df8aba9d89260227 objtool: Add rewind_stack_do_exit() to the noreturn list

Fix an objtool warning plus fix a u64_to_user_ptr() macro expansion bug.

Thanks,

Ingo

------------------>
Jann Horn (1):
linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()

Josh Poimboeuf (1):
objtool: Add rewind_stack_do_exit() to the noreturn list

 include/linux/kernel.h | 4 ++--
 tools/objtool/check.c  | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
include/linux/kernel.h +2 -2
index 34a5036debd3..2d14e21c16c0 100644
@@ -47,8 +47,8 @@
 
 #define u64_to_user_ptr(x) (		\
 {					\
-	typecheck(u64, x);		\
-	(void __user *)(uintptr_t)x;	\
+	typecheck(u64, (x));		\
+	(void __user *)(uintptr_t)(x);	\
 }					\
 )
 
tools/objtool/check.c +1 -0
index 5dde107083c6..479196aeb409 100644
@@ -165,6 +165,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
 		"fortify_panic",
 		"usercopy_abort",
 		"machine_real_restart",
+		"rewind_stack_do_exit",
 	};
 
 	if (func->bind == STB_WEAK)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 12 Apr 2019 12:16:30 +0200:

The pull request you sent on Fri, 12 Apr 2019 12:16:30 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/54c63a75581f4b8d5d4b5660424f926510cfd98c

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker