Re: [PATCH 1/2] mm: Move default_gfp() into gfp_types.h

From: Lorenzo Stoakes (ARM)

Date: Tue Oct 06 2026 - 11:47:15 EST


On Mon, Sep 14, 2026 at 03:32:16PM -0700, Kees Cook wrote:
> Using default_gfp() only depends on the GFP_KERNEL value. Move
> default_gfp() into gfp_types.h so that future use in devres.h doesn't
> require pulling in all of gfp.h.
>
> Signed-off-by: Kees Cook <kees@xxxxxxxxxx>

LGTM so:

Reviewed-by: Lorenzo Stoakes (ARM) <ljs@xxxxxxxxxx>

--
Cheers, Lorenzo