Re: [PATCH v3] um: vector: Replace undo_user_init in old code with out_free_netdev

2023-07-04 Thread Markus Elfring
> Thanks for your response and suggestions, > I made some mistakes. This is a resubmitted patch. You present a need for further improvements. > I got some errors with my local repository, > so I lost the commit SHA-1 ID. I wonder about such information here. > Fixes: ("drivers: use free_netde

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

2023-07-04 Thread David Gow
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/thread-info.h unconditionally, which leads to errors wh

[PATCH 2/2] arch: um: Use the x86 checksum implementation on 32-bit

2023-07-04 Thread David Gow
When UML is compiled under 32-bit x86, it uses its own copy of checksum_32.S, which is terribly out-of-date and doesn't support checksumming unaligned data. This causes the new "checksum" KUnit test to fail: ./tools/testing/kunit/kunit.py run --kconfig_add CONFIG_64BIT=n --cross_compile i686-linu