From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-it0-f70.google.com (mail-it0-f70.google.com [209.85.214.70]) by kanga.kvack.org (Postfix) with ESMTP id 5E2D86B0279 for ; Thu, 6 Jul 2017 18:08:37 -0400 (EDT) Received: by mail-it0-f70.google.com with SMTP id p135so22818490ita.11 for ; Thu, 06 Jul 2017 15:08:37 -0700 (PDT) Received: from mail-it0-x243.google.com (mail-it0-x243.google.com. [2607:f8b0:4001:c0b::243]) by mx.google.com with ESMTPS id 6si1706598itn.5.2017.07.06.15.08.36 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Jul 2017 15:08:36 -0700 (PDT) Received: by mail-it0-x243.google.com with SMTP id k3so2648800ita.3 for ; Thu, 06 Jul 2017 15:08:36 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170706215233.11329-2-ross.zwisler@linux.intel.com> References: <20170706215233.11329-1-ross.zwisler@linux.intel.com> <20170706215233.11329-2-ross.zwisler@linux.intel.com> From: "Rafael J. Wysocki" Date: Fri, 7 Jul 2017 00:08:36 +0200 Message-ID: Subject: Re: [RFC v2 1/5] acpi: add missing include in acpi_numa.h Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Ross Zwisler Cc: Linux Kernel Mailing List , "Anaczkowski, Lukasz" , "Box, David E" , "Kogut, Jaroslaw" , "Lahtinen, Joonas" , "Moore, Robert" , "Nachimuthu, Murugasamy" , "Odzioba, Lukasz" , "Rafael J. Wysocki" , "Rafael J. Wysocki" , "Schmauss, Erik" , "Verma, Vishal L" , "Zheng, Lv" , Andrew Morton , Dan Williams , Dave Hansen , Greg Kroah-Hartman , Jerome Glisse , Len Brown , Tim Chen , "devel@acpica.org" , ACPI Devel Maling List , Linux Memory Management List , "linux-nvdimm@lists.01.org" On Thu, Jul 6, 2017 at 11:52 PM, Ross Zwisler wrote: > Right now if a file includes acpi_numa.h and they don't happen to include > linux/numa.h before it, they get the following warning: > > ./include/acpi/acpi_numa.h:9:5: warning: "MAX_NUMNODES" is not defined [-Wundef] > #if MAX_NUMNODES > 256 > ^~~~~~~~~~~~ > > Signed-off-by: Ross Zwisler Acked-by: Rafael J. Wysocki > --- > include/acpi/acpi_numa.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/acpi/acpi_numa.h b/include/acpi/acpi_numa.h > index d4b7294..1e3a74f 100644 > --- a/include/acpi/acpi_numa.h > +++ b/include/acpi/acpi_numa.h > @@ -3,6 +3,7 @@ > > #ifdef CONFIG_ACPI_NUMA > #include > +#include > > /* Proximity bitmap length */ > #if MAX_NUMNODES > 256 > -- > 2.9.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org