* [merged mm-nonmm-stable] calibrate-update-header-inclusion.patch removed from -mm tree
@ 2025-11-27 22:27 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-11-27 22:27 UTC (permalink / raw)
To: mm-commits, andriy.shevchenko, akpm
The quilt patch titled
Subject: calibrate: update header inclusion
has been removed from the -mm tree. Its filename was
calibrate-update-header-inclusion.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: calibrate: update header inclusion
Date: Tue, 25 Nov 2025 00:06:06 +0100
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 <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
init/calibrate.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
--- a/init/calibrate.c~calibrate-update-header-inclusion
+++ a/init/calibrate.c
@@ -5,12 +5,15 @@
* Copyright (C) 1991, 1992 Linus Torvalds
*/
-#include <linux/jiffies.h>
#include <linux/delay.h>
#include <linux/init.h>
-#include <linux/timex.h>
-#include <linux/smp.h>
+#include <linux/jiffies.h>
+#include <linux/kstrtox.h>
#include <linux/percpu.h>
+#include <linux/printk.h>
+#include <linux/smp.h>
+#include <linux/stddef.h>
+#include <linux/timex.h>
unsigned long lpj_fine;
unsigned long preset_lpj;
_
Patches currently in -mm which might be from andriy.shevchenko@linux.intel.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-11-27 22:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-27 22:27 [merged mm-nonmm-stable] calibrate-update-header-inclusion.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.