Re: [PATCH v2] x86/boot/compressed: use boot_kstrtoul() for hugepages= parsing
From: Borislav Petkov
Date: Mon May 04 2026 - 06:20:11 EST
On Mon, Apr 27, 2026 at 10:17:58AM +0200, Thorsten Blum wrote:
> Could you give this another look now that [1] is in mainline and 'val'
> can no longer be NULL?
I did but looking at arch/x86/boot/string.c - we have kstrtoull() - notice the
two "ll" - there already because we copied it from kernel proper.
So, I'm thinking you should rename it to boot_kstrtoull() in a pre-patch and
then use it in kaslr.c.
Right?
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette