Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull core fixes from Ingo Molnar: "Fix an objtool warning plus fix a u64_to_user_ptr() macro expansion bug" * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: objtool: Add rewind_stack_do_exit() to the noreturn list linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()
This commit is contained in:
@ -47,8 +47,8 @@
|
|||||||
|
|
||||||
#define u64_to_user_ptr(x) ( \
|
#define u64_to_user_ptr(x) ( \
|
||||||
{ \
|
{ \
|
||||||
typecheck(u64, x); \
|
typecheck(u64, (x)); \
|
||||||
(void __user *)(uintptr_t)x; \
|
(void __user *)(uintptr_t)(x); \
|
||||||
} \
|
} \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -165,6 +165,7 @@ static int __dead_end_function(struct objtool_file *file, struct symbol *func,
|
|||||||
"fortify_panic",
|
"fortify_panic",
|
||||||
"usercopy_abort",
|
"usercopy_abort",
|
||||||
"machine_real_restart",
|
"machine_real_restart",
|
||||||
|
"rewind_stack_do_exit",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (func->bind == STB_WEAK)
|
if (func->bind == STB_WEAK)
|
||||||
|
Reference in New Issue
Block a user