Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp666215lqt; Thu, 6 Jun 2024 14:59:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlHZI5nHX0oBkgcuylUrfHPkr3dGQZr+6PaOotQiS54C30nA6nYVCafGB4ItvDrt8LXcMEmGOeMbeHKSJryvm7LSAWr94Y2s69JMWFjA== X-Google-Smtp-Source: AGHT+IFgzlEWsuh1Q4cMiDjAvJo3ft8bq+onlXX3Vk52yYBjhK4663uSGrNQ9tCLixKs6JNE//4I X-Received: by 2002:a05:6a00:1903:b0:6f3:34c0:13c9 with SMTP id d2e1a72fcca58-7040c757bc5mr816195b3a.29.1717711165618; Thu, 06 Jun 2024 14:59:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717711165; cv=pass; d=google.com; s=arc-20160816; b=YMMc5XhlHQ3ZlwDSHaNwCVKkCYg65mq2JYP9Ip0Jr9ICxk9a5DsABzq/B0HSsb7VNn d/5scQA1xoC+kx967AwGKrGau3uA4vzT0LmXzATx3Tse9v2eVMzXOGbBFpxAKdoG05qQ kG7DKMj+zFF5HsIv1tmufJgRJ1Y2bUGBEjoeVuX7fR59DIgvallPVrVPO/qa8WMKE8MP 3VcrVdobUxML7li4qnDLDBDTwv6sga20TBk/7hhnI0UNAnrWpeUkK+xZ7XhoZoJtglh2 VNG/WJNiJFv4nU6L/4hkmVoPDHhp8PKKw+EXMpau/JyjTyqB5aLvuu2JBwd4R1smDkTH 4cNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=zeGjTLLISyTtH1AgP/c8JS96JX38uoEOXIRqVTS6/9M=; fh=WcwyRjGoSWJH8JUmC8D3SU+CktSKjWW6bnpRismdvJg=; b=bjjJ9qZeWsp9YMeVW8TyZOkMH9OqJYkW3XmAjepkNMU6B3AMam12tFNPYkiDBkFGM+ vRqayTZD2Kp9LH9+dtEZTQ3ewOUPvcjes5E2E31ZJKK/goiG6b+O0LCKn0T1wCbK7WG4 yCyCQ+FjAM4B4LsiVWGWubVWbROTh8/OWIm7onegNpyXPp2Q3iA7D53OYlH5VnluoZxJ SXyYe01gn+lZH+nsiNKapyyTWC2ZS40l2Kp/N3O2eEM/mce/vwPa/wfAD7R7mnk9SiNA /jFEbPSC3PoceNsfQzAddwE1JqE0CQ3yxb+MW/YiD0NsmadvH29p8cL41/iSR07MhGuN sCnw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toblux-com.20230601.gappssmtp.com header.s=20230601 header.b=W3+7CrDF; arc=pass (i=1 dkim=pass dkdomain=toblux-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-204923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204923-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2197759esi1668485a12.213.2024.06.06.14.59.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 14:59:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-204923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@toblux-com.20230601.gappssmtp.com header.s=20230601 header.b=W3+7CrDF; arc=pass (i=1 dkim=pass dkdomain=toblux-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-204923-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-204923-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id E429FB23715 for ; Thu, 6 Jun 2024 18:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 024714F1F2; Thu, 6 Jun 2024 18:53:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b="W3+7CrDF" Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8756845BE3 for ; Thu, 6 Jun 2024 18:53:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717700010; cv=none; b=TF8nq/5dfTBsIJcZCIMmcU6o4rldn42N6HMI3Vp6Umzoh+cbaD+AMCK2IDBdVTmst+JVFu89K21wyXOA6ay5duQq62lxOGbIcfShCcZj+7OyuStgu4OA9njPZ7Iy69b9Z20iE/cdJa2cLsZA3TWDez7zmSfN36S9TvdWFSIEkAY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717700010; c=relaxed/simple; bh=om1n47XePQtjI/lLgidIuMniQGl6BwDPK4rXrD+4YZQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sFHlq5BEGqD32vp36B2bSgfHuRDGrqel4NNgau6yUnkEXqf3FIJMqwO0w5RTeQ3YRM0zAHXab4AW0D6/cUO0FAQO7wwtjrhC130ngTKCzA4gxe2j6N8ENyDvhkTr8v1RcUM1OST379Ktjrwdu74DoP0MKNIA4CNvRbq9di13a+A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com; spf=none smtp.mailfrom=toblux.com; dkim=pass (2048-bit key) header.d=toblux-com.20230601.gappssmtp.com header.i=@toblux-com.20230601.gappssmtp.com header.b=W3+7CrDF; arc=none smtp.client-ip=209.85.218.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toblux.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toblux.com Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a690161d3ccso138155066b.2 for ; Thu, 06 Jun 2024 11:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toblux-com.20230601.gappssmtp.com; s=20230601; t=1717700007; x=1718304807; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zeGjTLLISyTtH1AgP/c8JS96JX38uoEOXIRqVTS6/9M=; b=W3+7CrDFBe+WIVTUDyjqaVB2cREbIijKrf1Kd5fReNBbsvxx0cW3FU6Fiv9HJv3PRW 2E7ZTFBdt/LXGWc23rUhnvCXDUVRKIHUeK3xmJnQiVAx0OnaKAP6XY7179k9RvXSLGjS ToY+xGgMlF4BgNoTXf82jitUAjzIQAggp+bFD8L5drqExRN5ajuM0cDJSAIZ7UHBmN96 uNcGjI2Fi9NVjoJ+zpmzfd7ikq+0alik9RMyQ5Z4vU910pUHjOgXP8wI7lS1Si4Wecqz AAr3tsO7U02ALhzmOrp3C9nSWA+8nF6ggrJ162GamfcnowyBy9a+IWK5cdnDHlHgFMN7 lJxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717700007; x=1718304807; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zeGjTLLISyTtH1AgP/c8JS96JX38uoEOXIRqVTS6/9M=; b=F+9YzJir56tmwRq2vGMIJg9liGKUNKjhrARbHFm7ixtvA6f0co8tXSKgeEjsmvcEi/ h8HEYnris2yDsB2mQK6vVpRrtk9IgPm4s7egBRunwiFZRCV3/tR4d11J7lPFYg9LCba4 c/4O3kgSacOnX/NcJYIoyhjfOxjjvpb8K1h4HZSveHD811ilgSFDw46c8dx1Xb/nhl8m /LwmJ3615jTogn7dVMLyu8pbHrLgBahJKxblp9WyN4Bh/w9aqo//fnsfQi4jpdcKdfbN zNRI8mgHJalWtluhD/Na06t+YAObLjnmUw/XCe6Som06DtJ8pQr6s5yfM75EiVrRqwAX AEbw== X-Forwarded-Encrypted: i=1; AJvYcCVLdsoY0x+jN/xyfPlaH0ZCXG6W5rAhy417q+xvUdEeywhs4Vl/JGSSIeoP7WRIcGef6ZI02UnGbEgrqKmRRyJF+OIWqMhTY10ls+74 X-Gm-Message-State: AOJu0YzcSNJH4OxUO+KvRLnOmHY3QmvZmkRHt5L44a+1706ktP1IevIh wqBsVEdh/vxz13ochWTYd/XR2vJ509jUNfp2CkSF4HflB5QTf1vJ0vSiu44uqzldwI1sS27EiGy JIUQ= X-Received: by 2002:a17:906:4816:b0:a59:bdb7:73e8 with SMTP id a640c23a62f3a-a6cdad238d1mr28297666b.53.1717700006767; Thu, 06 Jun 2024 11:53:26 -0700 (PDT) Received: from fedora.fritz.box (aftr-82-135-80-164.dynamic.mnet-online.de. [82.135.80.164]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c806ea19esm130890066b.128.2024.06.06.11.53.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 11:53:25 -0700 (PDT) From: Thorsten Blum To: rafael@kernel.org, lenb@kernel.org Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Blum Subject: [PATCH] ACPI/NUMA: Consolidate header includes Date: Thu, 6 Jun 2024 20:52:02 +0200 Message-ID: <20240606185200.1596-3-thorsten.blum@toblux.com> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The header file acpi/acpi_numa.h is included whether CONFIG_ACPI is defined or not. Include it only once before the #ifdef/#else/#endif preprocessor directives and fix the following make includecheck warning: acpi/acpi_numa.h is included more than once Signed-off-by: Thorsten Blum --- include/linux/acpi.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 28c3fb2bef0d..bb18e7bf8826 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -24,6 +24,7 @@ struct irq_domain_ops; #define _LINUX #endif #include +#include #ifdef CONFIG_ACPI @@ -35,7 +36,6 @@ struct irq_domain_ops; #include #include -#include #include #include @@ -777,8 +777,6 @@ const char *acpi_get_subsystem_id(acpi_handle handle); #define acpi_dev_uid_match(adev, uid2) (adev && false) #define acpi_dev_hid_uid_match(adev, hid2, uid2) (adev && false) -#include - struct fwnode_handle; static inline bool acpi_dev_found(const char *hid) -- 2.45.2