Re: [PATCH] arch: um: Mark the stack non-executable to fix a binutils warning

2022-08-26 Thread Lukas Straub
Looks good to me: Reviewed-by: Lukas Straub Tested-by: Lukas Straub Regards, Lukas Straub -- pgp8NxzokbqHD.pgp Description: OpenPGP digital signature ___ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman

[PATCH 2/2] um: Cleanup compiler warning in arch/x86/um/tls_32.c

2022-08-26 Thread Lukas Straub
ay' will never be NULL [-Waddress] 243 | if (!t->arch.tls_array) | ^ ../arch/x86/um/asm/processor_32.h:22:31: note: 'tls_array' declared here 22 | struct uml_tls_struct tls_array[GDT_ENTRY_TLS_ENTRIES]; | ^ Sig

[PATCH 1/2] um: Cleanup syscall_handler_t cast in syscalls_32.h

2022-08-26 Thread Lukas Straub
Like in f4f03f299a56ce4d73c5431e0327b3b6cb55ebb9 "um: Cleanup syscall_handler_t definition/cast, fix warning", remove the cast to to fix the compiler warning. Signed-off-by: Lukas Straub --- arch/x86/um/shared/sysdep/syscalls_32.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletion

[PATCH 0/2] um: Fix compiler warnings on x86

2022-08-26 Thread Lukas Straub
Hello Everyone, These patches fix some compiler errors on x86. I tested quickly without any userspace and it booted fine. Regards, Lukas Straub Lukas Straub (2): um: Cleanup syscall_handler_t cast in syscalls_32.h um: Cleanup compiler warning in arch/x86/um/tls_32.c arch/x86/um/shared