Re: [PATCH 1/1] x86/mm: Use proper mask when setting PUD mapping
From: Greg KH
Date: Fri Aug 19 2022 - 03:02:26 EST
On Fri, Aug 19, 2022 at 10:30:01AM +0800, Aaron Lu wrote:
> commit c164fbb40c43f("x86/mm: thread pgprot_t through
> init_memory_mapping()") mistakenly used __pgprot() which doesn't
> respect __default_kernel_pte_mask when setting PUD mapping, fix it
> by using __pgprot_mask().
>
> Fixes: c164fbb40c43f("x86/mm: thread pgprot_t through init_memory_mapping()")
Nit, you need a space before the '(' character or the linux-next scripts
will complain :(
Also, you cc:ed security@k.o and lkml. As this is public, no need to
copy security@k.o at all.
thanks,
greg k-h