lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 23 Sep 2015 10:43:20 +0200
From:	Valentin Rothberg <valentinrothberg@...il.com>
To:	vbabka@...e.cz
Cc:	rostedt@...dmis.org, mingo@...hat.com,
	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	ziegler@...fau.de, Paul Bolle <pebolle@...cali.nl>
Subject: compaction.h: undefined CONFIG_ZONE_HIGHMEM_

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ