From: Andy Shevchenko Date: Mon, 24 Nov 2025 23:06:06 +0000 (+0100) Subject: calibrate: update header inclusion X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aa514a297a0c175239f24a2e582ebd37f0727494;p=thirdparty%2Fkernel%2Fstable.git calibrate: update header inclusion While cleaning up some headers, I got a build error on this file: init/calibrate.c:20:9: error: call to undeclared function 'kstrtoul'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] Update header inclusions to follow IWYU (Include What You Use) principle. Link: https://lkml.kernel.org/r/20251124230607.1445421-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko Signed-off-by: Andrew Morton --- diff --git a/init/calibrate.c b/init/calibrate.c index 09c2e6102110..63be4c65bc52 100644 --- a/init/calibrate.c +++ b/init/calibrate.c @@ -5,12 +5,15 @@ * Copyright (C) 1991, 1992 Linus Torvalds */ -#include #include #include -#include -#include +#include +#include #include +#include +#include +#include +#include unsigned long lpj_fine; unsigned long preset_lpj;