Re: [PATCH 1/2] asm-generic: current: Don't include thread-info.h if building asm

2023-08-19 Thread Arnd Bergmann
On Tue, Jul 4, 2023, at 04:30, David Gow wrote: > asm/current.h is included by some assembly files (either directly, or > indirectly). This works on some architectures (such as x86), as their > implementation of current.h is careful to not include any C, but the > asm-generic version includes linux

Re: [PATCH v2 1/2] UML: hard-code the result of 'uname -s'

2023-08-19 Thread Masahiro Yamada
On Sun, Aug 20, 2023 at 6:15 AM Richard Weinberger wrote: > > - Ursprüngliche Mail - > > Von: "masahiroy" > > We rely on 'uname -s' returning 'Linux' because there are os-Linux/ > > directories, but no other os-*/. > > > > Supporting a non-Linux host is unlikely to happen. > > > > Let's h

Re: [PATCH 1/2] asm-generic: current: Don't include thread-info.h if building asm

2023-08-19 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "davidgow" > asm/current.h is included by some assembly files (either directly, or > indirectly). This works on some architectures (such as x86), as their > implementation of current.h is careful to not include any C, but the > asm-generic version includes lin

Re: [PATCH v2 1/2] UML: hard-code the result of 'uname -s'

2023-08-19 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "masahiroy" > We rely on 'uname -s' returning 'Linux' because there are os-Linux/ > directories, but no other os-*/. > > Supporting a non-Linux host is unlikely to happen. > > Let's hard-code 'Linux'. While I agree that a non-Linux version is unlikely I'd l

Re: [PATCH v4] um: vector: Fix exception handling in vector_eth_configure()

2023-08-19 Thread Richard Weinberger
- Ursprüngliche Mail - > The resource cleanup was incomplete in the implementation > of the function "vector_eth_configure". > Thus replace the jump target > "out_undo_user_init" by "out_free_netdev". > Delate the orphan function "out_undo_user_init" > > PATCH v1-v3: Modify the patch forma