All of lore.kernel.org
 help / color / mirror / Atom feed
* compaction.h: undefined CONFIG_ZONE_HIGHMEM_
@ 2015-09-23  8:43 Valentin Rothberg
  2015-09-23  9:34 ` Vlastimil Babka
  0 siblings, 1 reply; 3+ messages in thread
From: Valentin Rothberg @ 2015-09-23  8:43 UTC (permalink / raw)
  To: vbabka; +Cc: rostedt, mingo, linux-kernel, akpm, ziegler, Paul Bolle

Hi Vlastimil,

your commit 1434c81a47e3 ("mm, compaction: export tracepoints zone names
to userspace") has shown up in todays linux-next tree (i.e., 20150923)
adding the following lines of code:

--- a/include/trace/events/compaction.h
+++ b/include/trace/events/compaction.h
@@ -18,6 +18,31 @@
[...]
+#ifdef CONFIG_ZONE_HIGHMEM_
+#define IFDEF_ZONE_HIGHMEM(X) X
+#else
+#define IFDEF_ZONE_HIGHMEM(X)
+#endif

At the current state, the #ifdef block will not see a compiler since
CONFIG_ZONE_HIGHMEM_ is not defined anywhere.  At first I thought it's a
typo as it ends with '_', but even ZONE_HIGHMEM isn't defined in
Kconfig.  Is there a patch queued somewhere to fix the issue?

I detected the issue with undertaker-checkpatch from [1].  We run a bot
daily on linux-next to detect some Kconfig related issues and bugs.

Kind regards,
 Valentin

[1] https://undertaker.cs.fau.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-23 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-23  8:43 compaction.h: undefined CONFIG_ZONE_HIGHMEM_ Valentin Rothberg
2015-09-23  9:34 ` Vlastimil Babka
2015-09-23 10:13   ` Valentin Rothberg

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.