2022-04-08 17:15:27

by Peter Zijlstra

[permalink] [raw]
Subject: [PATCH 0/4] objtool: Fixes

Fix various objtool whinges:

lib/strnlen_user.o: warning: objtool: strnlen_user()+0x33: call to do_strnlen_user() with UACCESS enabled
lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x33: call to do_strncpy_from_user() with UACCESS enabled

vmlinux.o: warning: objtool: pvh_start_xen()+0x0: unreachable
vmlinux.o: warning: objtool: start_secondary()+0x10e: unreachable
vmlinux.o: warning: objtool: asm_exc_xen_unknown_trap()+0x16: unreachable instruction


2022-04-08 18:32:22

by Josh Poimboeuf

[permalink] [raw]
Subject: Re: [PATCH 0/4] objtool: Fixes

On Fri, Apr 08, 2022 at 11:45:52AM +0200, Peter Zijlstra wrote:
> Fix various objtool whinges:
>
> lib/strnlen_user.o: warning: objtool: strnlen_user()+0x33: call to do_strnlen_user() with UACCESS enabled
> lib/strncpy_from_user.o: warning: objtool: strncpy_from_user()+0x33: call to do_strncpy_from_user() with UACCESS enabled
>
> vmlinux.o: warning: objtool: pvh_start_xen()+0x0: unreachable
> vmlinux.o: warning: objtool: start_secondary()+0x10e: unreachable
> vmlinux.o: warning: objtool: asm_exc_xen_unknown_trap()+0x16: unreachable instruction

Acked-by: Josh Poimboeuf <[email protected]>

--
Josh