mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 00:19:36 +00:00
![]() Add shared cleanup.h header for radix-tree testing tools.
Fixes build error found with kdevops [1]:
cc -I../shared -I. -I../../include -I../../../lib -g -Og -Wall
-D_LGPL_SOURCE -fsanitize=address -fsanitize=undefined -c -o
radix-tree.o radix-tree.c
In file included from ../shared/linux/idr.h:1,
from radix-tree.c:18:
../shared/linux/../../../../include/linux/idr.h:18:10: fatal error:
linux/cleanup.h: No such file or directory
18 | #include <linux/cleanup.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: radix-tree.o] Error 1
[1] https://github.com/linux-kdevops/kdevops
https://github.com/linux-kdevops/linux-mm-kpd/
actions/runs/13971648496/job/39114756401
[akpm@linux-foundation.org: remove unneeded header guards, per Sidhartha]
Link: https://lkml.kernel.org/r/20250321-fix-radix-tree-build-v1-1-838a1e6540e2@samsung.com
Fixes:
|
||
---|---|---|
.. | ||
bug.h | ||
cleanup.h | ||
cpu.h | ||
idr.h | ||
interval_tree_generic.h | ||
interval_tree.h | ||
kconfig.h | ||
kernel.h | ||
kmemleak.h | ||
local_lock.h | ||
lockdep.h | ||
maple_tree.h | ||
percpu.h | ||
preempt.h | ||
radix-tree.h | ||
rbtree_augmented.h | ||
rbtree_types.h | ||
rbtree.h | ||
rcupdate.h | ||
xarray.h |