Re: [PATCH] mm/mseal: use min/max in mseal_apply
From: Pedro Falcato
Date: Sun May 03 2026 - 16:59:11 EST
On Sun, May 03, 2026 at 01:59:16PM +0200, Thorsten Blum wrote:
> Use the type-checked min()/max() macros instead of MIN()/MAX(), which
> are supposed to be used "for obvious constants only".
Gotta love these macros... FYI this isn't the only wrong usage in the kernel.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Reviewed-by: Pedro Falcato <pfalcato@xxxxxxx>
--
Pedro