From nobody Sun Nov 16 02:26:33 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1762272773; cv=none; d=zohomail.com; s=zohoarc; b=knH48Mn6BYhBHGYoTgydWvMuKHqAit+BUFM99SFVcAEj4KFvNybUcVvDKfwGFDVfPA9ieUgiEnABqsbo19X2ap1LktF2Ah/rSPCLHcK2woIA+2qco19I0neM6SRqqTvhlgk9KBjX41qwbMg85Yk+uct2v7cDPYpGdJvC1r0cmBQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1762272773; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=/9TOmFmIqhyuzG6e0MA/YDMsMgH5yDWNQ+TpSTSyVlM=; b=U2AvGifm5AS80EQcKOhlAvBgV3vsbwTP/Rlyhbfh1LfiNxb6xVyNOWsXakPq9/OJP/CDNeSO07FLPu0B+wawx9j46tx8PB5t5BRTsM2kHJ6uUfH3aVYbTocOyFckrNs7G/383wFy8n8GijxBG1CXDCLh2cM+S5HpW4eXA1POWMM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1762272773700862.836508569461; Tue, 4 Nov 2025 08:12:53 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vGJbs-0006nx-IJ; Tue, 04 Nov 2025 11:10:17 -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 1vGJbf-0006hp-36 for qemu-devel@nongnu.org; Tue, 04 Nov 2025 11:10:04 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vGJbY-0007Kt-Vi for qemu-devel@nongnu.org; Tue, 04 Nov 2025 11:10:00 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4775ae5684fso1765915e9.1 for ; Tue, 04 Nov 2025 08:09:54 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47754adcd08sm57314455e9.5.2025.11.04.08.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Nov 2025 08:09:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1762272593; x=1762877393; 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=/9TOmFmIqhyuzG6e0MA/YDMsMgH5yDWNQ+TpSTSyVlM=; b=Bs56HUKH2nG5hbzhOsWryzm5lFyYOeOD4V4tb1uOmYOE+GjYTJIAXzo6aBcZoXZZ9n trSVH1morn+tMx4CQJIFinKhq4nTZZVAbS0zBtlyJyab+ufyvDUbRwWALQgv8ix3RqRS 3ofUyRug0U42s//FP0tkPZ6RcUy3YgKv+tzU5nCPMAKtyF6QPMfjuY9U5B2dOTBdRzEH 4vSW/72O1Tv0/PSXC01ZXPlKKxZEFgmRoGgmzfmrsJpHGb4OY1tb3/zUCyJaV1JjSrD4 51PBKXNp1gjrftGher+iMjX7TrfG+rEGu6OTNKEqkPBJQVYswaZklo5OxkVJXw4VeudL b6xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762272593; x=1762877393; 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=/9TOmFmIqhyuzG6e0MA/YDMsMgH5yDWNQ+TpSTSyVlM=; b=XwDf/iedh/5bUwpkG43kotVfk2HkH/FQJA0WksGL5qDHEBw2YGOphgRV6H9kLT151A 3tFeXaqXotv97z59mXcamIykxJdpEqwuHIWDAUh1KzNyRaks2fUJNfn3LuYkBMuUq/Ez J9FpLcKPcs3RQ90pcYXxvEf99AFBV7cpE6P5JEjIdAjV5JN0P7+hWGINz89Hi/x7frpT tmiEpjOWO3QAgX5t1F7Jy2hdFRCfUNiteBwNRpciZGiOhXne0EcNJ9Ue0Yi6b6ZO+aj1 NiSuyPQTEOCnpZSRVoPoj1l2juo0ykwxgpa20sgoLiGI2eAiyigM1nvY++bFXEvr4hQl 18WA== X-Gm-Message-State: AOJu0YwlQnjLVVxYjC3EYtt728/LoAt/aRlqbW69gRH2CCPd0dhk2BpL RYrMPGhyAjRWXqKo0k+GcALmCEZBPXFKHRucVRco49QiYXumv/uTVrVUs9sRmVdVITSkTBm2cHv DY9pP X-Gm-Gg: ASbGncsSCLBgsWRlbBXuGztOgg9E8sXPBUFIzcdA99aXnjPGeE+Lo4DUsU6jo8vX2GT +0B88L3taoJD/moStwLpDy/GTsJltYlgWVvJ78EkoSMLzNvhZrmgMmjHMeprBNxruFh8ftfiS3g Dw5+7laEnXdy6CsiGEWQMgm9zngfii0yUf1XivELeL81NBH/YFya6gF+zjgCvg7u4xUetwFbe/6 AZJ4dA3OVPqPgt0tQAQjVkdk6wpo9zEtyVPZz0LI0r77OnCwbyWkDFU/F5vqdYpDmimeZKFXKTr tvH1+4Lq8Ob2OlTxIlNEJAjiEbM4rwikjLeqCsZq7G+al9sfH9CH6w52zUqj3ovwFTVepoEYhql wxqTY3h4jpOYr4CuD3m7hit1x8bZCv6z6yj7ztUcxs/N2Os5PjeKg6pAE2xz2+NscUVASWBuk93 O5jgh1Ag== X-Google-Smtp-Source: AGHT+IEboKozT2T2SPgevny/csOvI2uGVEwGbCoFmhWGnzRiVRI6S1l0aXX30LlFysEsypR7bOYY9w== X-Received: by 2002:a05:600c:3511:b0:476:4efc:8edc with SMTP id 5b1f17b1804b1-477307d9920mr141491715e9.15.1762272593390; Tue, 04 Nov 2025 08:09:53 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Cc: Jonathan Cameron , Fan Ni , John Levon , Thanos Makatos , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Alex Williamson Subject: [PATCH 7/9] cxl: Clean up includes Date: Tue, 4 Nov 2025 16:09:41 +0000 Message-ID: <20251104160943.751997-8-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251104160943.751997-1-peter.maydell@linaro.org> References: <20251104160943.751997-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x331.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 autolearn=ham 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1762272780814158500 Content-Type: text/plain; charset="utf-8" This commit was created with scripts/clean-includes: ./scripts/clean-includes --git cxl hw/cxl hw/mem 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 Acked-by: Jonathan Cameron Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/cxl/cxl-mailbox-utils.c | 2 +- hw/mem/cxl_type3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c index 68c7cc98912..6cfdd98168f 100644 --- a/hw/cxl/cxl-mailbox-utils.c +++ b/hw/cxl/cxl-mailbox-utils.c @@ -7,9 +7,9 @@ * COPYING file in the top-level directory. */ =20 +#include "qemu/osdep.h" #include =20 -#include "qemu/osdep.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" #include "hw/cxl/cxl.h" diff --git a/hw/mem/cxl_type3.c b/hw/mem/cxl_type3.c index be609ff9d03..4f3688a71b6 100644 --- a/hw/mem/cxl_type3.c +++ b/hw/mem/cxl_type3.c @@ -8,9 +8,9 @@ * * SPDX-License-Identifier: GPL-v2-only */ +#include "qemu/osdep.h" #include =20 -#include "qemu/osdep.h" #include "qemu/units.h" #include "qemu/error-report.h" #include "qapi/qapi-commands-cxl.h" --=20 2.43.0