aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2024-03-05 23:56:44 +1100
committerKees Cook <[email protected]>2024-03-05 10:29:15 -0800
commit3fe1eb4dd2e4b872ffb7b9b081b34ffcfa934ba7 (patch)
treea2ed80fab231e8e3a3705cd1103a75156543e121 /scripts/generate_rust_analyzer.py
parentfb57550fcbd868391a84411b0a99b2978656cdc1 (diff)
selftests/powerpc: Fix load_unaligned_zeropad build failure
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> This is due to the recent changes to the kernel headers. Fix it by symlinking the new wordpart.h, and creating an empty stub for bitops.h which is all that's needed. Reported-by: Sachin Sant <[email protected]> Tested-by: Sachin Sant <[email protected]> Fixes: 66a5c40f60f5 ("kernel.h: removed REPEAT_BYTE from kernel.h") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions