RE: [PATCH next v2 11/11] minmax: min() and max() don't need to return constant expressions

From: David Laight
Date: Mon Feb 26 2024 - 05:31:39 EST


From: kernel test robot <lkp@xxxxxxxxx>
> Sent: 26 February 2024 09:42
...
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202402261720.EAMC0eHM-lkp@xxxxxxxxx/
>
> All warnings (new ones prefixed by >>):
>
> >> arch/x86/mm/pgtable.c:437:14: warning: variable length array used [-Wvla]
> 437 | pmd_t *pmds[MAX_PREALLOCATED_PMDS];

Not surprisingly I missed X86_CONFIG_PAE builds :-)

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)