[PATCH] Fix scripts/checkpatch.py style failures.

2023-08-05 Thread Nathan Egge
From: "Nathan Egge" Signed-off-by: Nathan Egge --- linux-user/syscall.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 95727a816a..38ab2201e2 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c

[PATCH v9 07/24] linux-user: Do not call get_errno() in do_brk()

2023-08-04 Thread Nathan Egge
On 2023-08-04 18:00, Richard Henderson wrote: From: Akihiko Odaki Later the returned value is compared with -1, and negated errno is not expected. Fixes: 00faf08c95 ("linux-user: Don't use MAP_FIXED in do_brk()") Reviewed-by: Helge Deller Signed-off-by: Akihiko Odaki Message-Id: <20230802071

[PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-08-03 Thread Nathan Egge
From: "Nathan Egge" Set V bit for hwcap if misa is set. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1793 Signed-off-by: Nathan Egge --- linux-user/elfload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux-user/elfload.c b/linux-user/elflo

[PATCH] linux-user/elfload: Set V in ELF_HWCAP for RISC-V

2023-07-31 Thread Nathan Egge
One line patch that fixes the issue reported in: https://gitlab.com/qemu-project/qemu/-/issues/1793 >From 7122a450d745325ce250785e58c543481054bec6 Mon Sep 17 00:00:00 2001 From: "Nathan E. Egge" Date: Mon, 31 Jul 2023 03:45:13 -0400 Subject: [PATCH] linux-user/elfload: Set V in ELF_HWCAP for RIS