From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753474AbbIWIn2 (ORCPT ); Wed, 23 Sep 2015 04:43:28 -0400 Received: from mail-wi0-f180.google.com ([209.85.212.180]:38158 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158AbbIWInY (ORCPT ); Wed, 23 Sep 2015 04:43:24 -0400 Date: Wed, 23 Sep 2015 10:43:20 +0200 From: Valentin Rothberg To: vbabka@suse.cz Cc: rostedt@goodmis.org, mingo@redhat.com, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, ziegler@cs.fau.de, Paul Bolle Subject: compaction.h: undefined CONFIG_ZONE_HIGHMEM_ Message-ID: <20150923084320.GA16863@ubuntu-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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