From patchwork Thu Jan 25 16:34:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 765956 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1007:b0:337:62d3:c6d5 with SMTP id a7csp47228wrx; Thu, 25 Jan 2024 08:36:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IGa8PGCI8tQRzlaUbdw+lS505BFOPIinP4CQQD0NEN48U3jlJmErL7b0Bkg3m49qhO2yx2w X-Received: by 2002:a05:6214:1c4a:b0:684:dc67:4834 with SMTP id if10-20020a0562141c4a00b00684dc674834mr1402196qvb.98.1706200586059; Thu, 25 Jan 2024 08:36:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706200586; cv=none; d=google.com; s=arc-20160816; b=haJTcTmRaeoeWx6uYONxp7An/bv0uLiOSJlRLRrVdM3jkKvo0voP0ee5pkLuQkwA3H tio8yCjGlJXWSoAHZ1vGt0CEyar4NF1zFioZ14oSEl3CdRmYWJj7+1C9ZZQeS2z8cp6u ZI/9nKVWdH37Qc7JvGAAzjiT/w7qc4+pHVElVaDtXJe7aQgB7KUSa4ac8JlKUHTDZkA3 AvIV/YXRFXWOORZsBhZcdwfS/nJwl5duD6ZVNAcNbvvLCzAvOfttxiJQJVnx8vRTpbCb mR0kXFG12mJdXaCX1oQiBCSFv2/CPUXboSAd6srkUbuV8SFhMsaMImJ42FqJob6yYgvi L9EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=blcIrf8+81pwYQa70vo1vxCRB41hnePR6PPCGf2tfqg=; fh=kcov7vl7xxOd84pcsL/vu8Npa8ekHQuOCdhbB2+Xkxw=; b=t/vSpobv5ZXaCE7O9H7I7q69XWN8k9366VTOisV7zwovYlaSb4mg/TAwDLQAzczoB5 7zenD8w44rhzjOJlt9FlUKTxqcJ+IUqwupCKxqHYRb3K5OtfJ6ZNFhqwW0iN/pekqkzl AP/1DihTtpSkEcPsJknYZ/7FGhTeyFSSf9/nc/OOX23EssKbJBOGKqIZSH6+t6TfkXRV HAZAuKjuwdwz6Wk2Rd4Cr9UR4Qf8IsN/TaGxm+bj9az9nWEkO2hUbM8l3/alhm3hyEYI 4S9XUcBMhLD2QxQ+mcCzNZfyqaCv+QFjzz0VcADzT0+Vd1lRvOGIu4YAlyLYkCFtDnhd CtNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKQ0X4a3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r19-20020a0ce293000000b0068197c63693si13177727qvl.184.2024.01.25.08.36.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jan 2024 08:36:26 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VKQ0X4a3; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT2gG-0006tw-G3; Thu, 25 Jan 2024 11:34:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rT2gE-0006qx-SZ for qemu-devel@nongnu.org; Thu, 25 Jan 2024 11:34:18 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rT2gA-00029m-OF for qemu-devel@nongnu.org; Thu, 25 Jan 2024 11:34:18 -0500 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40ed4690ee4so3073675e9.2 for ; Thu, 25 Jan 2024 08:34:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706200453; x=1706805253; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=blcIrf8+81pwYQa70vo1vxCRB41hnePR6PPCGf2tfqg=; b=VKQ0X4a3q6eQr51QR4ktfoK/MwBKAPj25ylOql2OmMovYeB2gJF8iIcU+Pjsvaro8D UaRUxKuzZdEygUmIpVChkjuZtj8fXZtybi6tHKzNpLDfJzl8Wk56VPeT+X03uwZJEGcI /HXDwDsmFKjVuHXsggGZjnVjD6qOokp1+FGq096ScrEneJmIZgMXxhuaWVqFNLbBR31z T6Gxdrxs76+WbEk4YlxyddDnSBDdaIOwLS64c/mneNDMds8XcHfLRq5KG1/K6twP/BdG HK4rumuuqRrFm3yVw3jIhSe2SJ3o0PAUilPdYvJiEYvxmxEuMjsC0z5ylS8J6/DDYYyt 6dsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706200453; x=1706805253; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=blcIrf8+81pwYQa70vo1vxCRB41hnePR6PPCGf2tfqg=; b=fQiF6Co1rOs4vBJCGYOoJ9phaVM45W2pOXLRzCi9z/RwSy8TkSf1Sp8OSs2gN6CVjm iJRXKqVMMbJ3t6ucZheT5xB7NZuxYs9uypfvSNTAOyMhBu7dw0u5wJJruKCjCOOfHGy4 23Dpcz72LbeT9vu++wCavf4WP4J5V1sxozW9nmKoiLaxChm/bTq0Rx+3/srI/KOEdPnt asTzl4Jz2PpTP4QF9V0dGTFRsOETXFovgMMdhYKgjYOhTevoWhH4s3vtdYuQLYtYu3+w 5ftWB1wsrPLTOx+rOvvk/gmhqytQ9zGCJwinYuexnAvf/QWS9xz9s/vBef/sr32fhwgU qWUw== X-Gm-Message-State: AOJu0Yy8Ii016JRs1xHZTYZqqJ5S92IGp61bYl0HJJI40qhhduyBifta U7Y6hTCfmLYk96xecGnOgnN6nwaqEn3zliialQAdhnOnA9rkeeRd57/qzLh0Babw0M/reLb2krt K X-Received: by 2002:a05:600c:1d8d:b0:40e:d4d2:f00d with SMTP id p13-20020a05600c1d8d00b0040ed4d2f00dmr57837wms.130.1706200453065; Thu, 25 Jan 2024 08:34:13 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id p13-20020a05600c358d00b0040ea875a527sm3122208wmq.26.2024.01.25.08.34.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 08:34:12 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org Subject: [PATCH 08/10] cxl: Clean up includes Date: Thu, 25 Jan 2024 16:34:06 +0000 Message-Id: <20240125163408.1595135-9-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125163408.1595135-1-peter.maydell@linaro.org> References: <20240125163408.1595135-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This commit was created with scripts/clean-includes. All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Zhao Liu Acked-by: Jonathan Cameron --- hw/cxl/cxl-events.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/cxl/cxl-events.c b/hw/cxl/cxl-events.c index bee6dfaf148..affcf8a34dd 100644 --- a/hw/cxl/cxl-events.c +++ b/hw/cxl/cxl-events.c @@ -7,11 +7,9 @@ * COPYING file in the top-level directory. */ -#include - #include "qemu/osdep.h" + #include "qemu/bswap.h" -#include "qemu/typedefs.h" #include "qemu/error-report.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h"