[PATCH] selftests/powerpc: Fix load_unaligned_zeropad build failure

Kees Cook keescook at chromium.org
Wed Mar 6 05:30:48 AEDT 2024


On Tue, 05 Mar 2024 23:56:44 +1100, Michael Ellerman wrote:
> This test is userspace code, but uses some kernel headers via symlinks,
> and mocks other headers, in order to test load_unaligned_zeropad().
> 
> Currently the test fails to build with:
> 
>   In file included from load_unaligned_zeropad.c:26:
>   word-at-a-time.h:7:10: fatal error: linux/bitops.h: No such file or directory
>       7 | #include <linux/bitops.h>
> 
> [...]

Applied to for-next/hardening, thanks!

[1/1] selftests/powerpc: Fix load_unaligned_zeropad build failure
      https://git.kernel.org/kees/c/3fe1eb4dd2e4

Take care,

-- 
Kees Cook



More information about the Linuxppc-dev mailing list