linux-stable/tools/testing
Arnd Bergmann bde1597d0f radix-tree: move declarations to header
The xarray.c file contains the only call to radix_tree_node_rcu_free(),
and it comes with its own extern declaration for it.  This means the
function definition causes a missing-prototype warning:

lib/radix-tree.c:288:6: error: no previous prototype for 'radix_tree_node_rcu_free' [-Werror=missing-prototypes]

Instead, move the declaration for this function to a new header that can
be included by both, and do the same for the radix_tree_node_cachep
variable that has the same underlying problem but does not cause a warning
with gcc.

[zhangpeng.00@bytedance.com: fix building radix tree test suite]
  Link: https://lkml.kernel.org/r/20230521095450.21332-1-zhangpeng.00@bytedance.com
Link: https://lkml.kernel.org/r/20230516194212.548910-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-06-12 11:31:50 -07:00
..
crypto/chacha20-s390
cxl cxl: Move cxl_await_media_ready() to before capacity info retrieval 2023-05-18 16:43:45 -07:00
fault-injection
ktest ktest: Restore stty setting at first in dodie 2023-02-20 11:52:27 -05:00
kunit kunit: tool: Add support for SH under QEMU 2023-04-05 12:51:16 -06:00
memblock mm, treewide: redefine MAX_ORDER sanely 2023-04-05 19:42:46 -07:00
nvdimm Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
radix-tree radix-tree: move declarations to header 2023-06-12 11:31:50 -07:00
scatterlist
selftests Tracing fixes: 2023-05-29 07:20:13 -04:00
vsock vsock/test: update expected return values 2023-04-04 12:46:24 +02:00