Re: [PATCH 5.10 12/25] radix tree test suite: Fix compilation

From: Matthew Wilcox
Date: Thu Apr 15 2021 - 11:17:10 EST


On Thu, Apr 15, 2021 at 04:48:06PM +0200, Greg Kroah-Hartman wrote:
> From: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
>
> [ Upstream commit 7487de534dcbe143e6f41da751dd3ffcf93b00ee ]
>
> Commit 4bba4c4bb09a added tools/include/linux/compiler_types.h which
> includes linux/compiler-gcc.h. Unfortunately, we had our own (empty)
> compiler_types.h which overrode the one added by that commit, and
> so we lost the definition of __must_be_array(). Removing our empty
> compiler_types.h fixes the problem and reduces our divergence from the
> rest of the tools.

I don't see 4bba4c4bb09a backported to 5.10.y, so I think this will break
compilation of the radix tree test suite. The corresponding commit for
5.11.y is good, since 5.11.y includes 4bba4c4bb09a.