Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752720AbdGFWIj (ORCPT ); Thu, 6 Jul 2017 18:08:39 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:36177 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752341AbdGFWIh (ORCPT ); Thu, 6 Jul 2017 18:08:37 -0400 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 X-Google-Sender-Auth: iHO3cJEs3_64xwtc5totKFVPas0 Message-ID: Subject: Re: [RFC v2 1/5] acpi: add missing include in acpi_numa.h 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" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1093 Lines: 36 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