Re: [PATCH net-next] mm: page_frag: fix a compile error when kernel is not compiled

From: Mark Brown
Date: Mon Nov 18 2024 - 13:12:56 EST


On Sat, Nov 16, 2024 at 12:23:13PM +0800, Yunsheng Lin wrote:
> page_frag test module is an out of tree module, but built
> using KDIR as the main kernel tree, the mm test suite is
> just getting skipped if newly added page_frag test module
> fails to compile due to kernel not yet compiled.
>
> Fix the above problem by ensuring both kernel is built first
> and a newer kernel which has page_frag_cache.h is used.

Tested-by: Mark Brown <broonie@xxxxxxxxxx>

(for the case where we skip the build.)

Attachment: signature.asc
Description: PGP signature