mbox series

[v2,0/3] linux-user: Use CPUArchState* instead of void* when possible

Message ID 20220509205728.51912-1-philippe.mathieu.daude@gmail.com (mailing list archive)
Headers show
Series linux-user: Use CPUArchState* instead of void* when possible | expand

Message

Philippe Mathieu-Daudé May 9, 2022, 8:57 p.m. UTC
From: Philippe Mathieu-Daudé <f4bug@amsat.org>

Since v1:
- Rebased

v1: https://lore.kernel.org/qemu-devel/20220306234005.52511-1-philippe.mathieu.daude@gmail.com/

Philippe Mathieu-Daudé (3):
  linux-user/elfload: Remove pointless non-const CPUArchState cast
  linux-user: Have do_syscall() use CPUArchState* instead of void*
  linux-user: Remove pointless CPU{ARCH}State casts

 linux-user/elfload.c        |   2 +-
 linux-user/strace.c         | 202 ++++++++++++++++++------------------
 linux-user/strace.h         |   4 +-
 linux-user/syscall.c        |  81 +++++++--------
 linux-user/uname.c          |   4 +-
 linux-user/uname.h          |   2 +-
 linux-user/user-internals.h |  18 ++--
 7 files changed, 155 insertions(+), 158 deletions(-)

Comments

Laurent Vivier May 23, 2022, 8:47 p.m. UTC | #1
Le 09/05/2022 à 22:57, Philippe Mathieu-Daudé a écrit :
> From: Philippe Mathieu-Daudé <f4bug@amsat.org>
> 
> Since v1:
> - Rebased
> 
> v1: https://lore.kernel.org/qemu-devel/20220306234005.52511-1-philippe.mathieu.daude@gmail.com/
> 
> Philippe Mathieu-Daudé (3):
>    linux-user/elfload: Remove pointless non-const CPUArchState cast
>    linux-user: Have do_syscall() use CPUArchState* instead of void*
>    linux-user: Remove pointless CPU{ARCH}State casts
> 
>   linux-user/elfload.c        |   2 +-
>   linux-user/strace.c         | 202 ++++++++++++++++++------------------
>   linux-user/strace.h         |   4 +-
>   linux-user/syscall.c        |  81 +++++++--------
>   linux-user/uname.c          |   4 +-
>   linux-user/uname.h          |   2 +-
>   linux-user/user-internals.h |  18 ++--
>   7 files changed, 155 insertions(+), 158 deletions(-)
> 

Series applied to my linux-user-for-7.1 branch.

Thanks,
Laurent