From nobody Sun Jan 25 12:00:41 2026 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=1769181215; cv=none; d=zohomail.com; s=zohoarc; b=hNx4Lj703XUO8Yn8YRqSKSgNra/7mMNhPCWv82J7YCxLBios2frtZvD8Af1rpMi75GD/YKZjSU94XSqQvZzNzHkajGvHHDTzqwbg3houX5NiS3QVpmRGvTApJTcWDJpkU2sh/zbvMzZ7oZvqcLT0juKHwDuwgdwEKKmomhWN5H8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1769181215; h=Content-Transfer-Encoding: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:Cc; bh=OscJg3dXrkhUjYsDycoGawVwLO3SVAen9cLVTEr2T6g=; b=HbJoJ6R3gOXe8iBaImWnmj2i9ZMy/ozTkUF5ZlOXqgq8YknYTEiWZ82QMXj72wlc8gpLOJwER+DM5RnE3XB0xjV1ZNEVpd1s0K60r3eWsZete8zBSDDTiS5D0bUIUHmMin2BXw4orbx2HD5Sv6qY/kh+ET5z2s0xk2DPrqRdU3E= 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 176918121595446.984901956889075; Fri, 23 Jan 2026 07:13:35 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vjInp-0007SX-34; Fri, 23 Jan 2026 10:10:25 -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 1vjInJ-00072s-5L for qemu-devel@nongnu.org; Fri, 23 Jan 2026 10:09:53 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vjInH-00033k-I4 for qemu-devel@nongnu.org; Fri, 23 Jan 2026 10:09:52 -0500 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-42fb2314eb0so2072697f8f.2 for ; Fri, 23 Jan 2026 07:09:51 -0800 (PST) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [81.2.115.146]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435b1e71503sm8255641f8f.25.2026.01.23.07.09.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jan 2026 07:09:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769180990; x=1769785790; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=OscJg3dXrkhUjYsDycoGawVwLO3SVAen9cLVTEr2T6g=; b=LXnr5B2xApc6xxEpaNGSQp9DR5K5juGp/6SceYOU9A3jOWVNB750TuqN18Ic0yvUtG H/0ZCYRLVn7YwlDaEbdo/DfmQDfE0hLdN/o3SPK8SHW2xGUaPLYn/imTlYb0FGhZcDFg goHyvn/wpmxbnwyRgk+36XPLLBWS97pmXxV07VCoiC0LEEVXkTKjzKDIoiPR08+iyBvN Vt4TnGFVHOxp5VUdSOiX06E2KTgypNtSxsFN3PrLZ8/JtFmjWqHtaM2I5RnY4ccnWUuk NIFt32bb3f9vJemYdbfLFrD5FDtLa7QBvh0PiB8TNGZf2hbfeuj0xwmvG3tGihuWye/d rsig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769180990; x=1769785790; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=OscJg3dXrkhUjYsDycoGawVwLO3SVAen9cLVTEr2T6g=; b=fahMBPURP3zSUGla02qZnvqRXa2q4btTycBOYXalHpiu9r8HPnrm6xl2kqYSTjQXFY f8hroBPr5W/5fDX3wPhLWmrcglyNsYDSCNM59UQqSKUsIFzOEKnnmvIKh6BMea+6ar33 pHDf9IPegdjuYftA9F6IOmnz5MGCqcFpA6QkLdxcQ+EblRpClMQ0JmgaTEdH+QhjFlgv GD8yAu/mcITeZDVsI7sJvjOO/aACbIxu8DZUYs8M0r22nvjfY5C+94eejG9FpIGLvSCh +gu96lXjv10ARepEgvpOuco1lhpHROEmiDJkqP8eETVn8l2ecyqcL6oWNzGcD9yyBzX3 Jb1Q== X-Gm-Message-State: AOJu0YzT6KXdkS6rJuAtsqVFZubdt6h4VOA5AJaofSudXOUNIpJbjDAq QxqbrXXXxW0a0ID2lC1gi0S7tlal/K8kS9tvRp8DWKx8AiKCqbKfNHCBLB2VfviEVVK5IpidE+W BkBp/3qs= X-Gm-Gg: AZuq6aJb0iauwV4iKpsVGqQsn2f2m14reXXzucII/VZOStcq4qNh2PokJ4oinZwqOEe emelnIOltgbw+5xjEvHZV0TY/VEFseT7KxVyMxhEmcOSKk2b++C5FHzhSz0iluT82Ck9Oml7wwi 1KAResaXW9y5OJ6U+JdvnCH8Yyh37B19qeWX6ERd2Ds1cu6erodvZh9tlx2+a6FSviGRDt3mVj0 2moM2bIaUvrrJ9Fk/6z3OyIPdLC3w6cp+rcT0cwQAkR4/kOA0SsN7ceUNBnocS2A4De8Ul8AqLo gSxjHDKHV68IfjqMr3JZPO6WW5A+N2mQxKZNCvTPpNqqKVvlyaslz4XQ5L3/+4Q/DraTMbsQpp0 NBGCOWXHVhuGBO43LEUuPxpYsqyaY9HEfMvI1UYBKaomjp0MjnVAwB9iPorrfSWRNe35eFN5fCp m2qy+WJQ7HVxTIqv1cjDbF+LosGf8D1J5qbsjf+518MHb1/ua1Wxxf X-Received: by 2002:a5d:5f54:0:b0:430:fcda:452d with SMTP id ffacd0b85a97d-435b15946cfmr5374042f8f.22.1769180989844; Fri, 23 Jan 2026 07:09:49 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 08/22] scripts/clean-includes: Do all our exclusions with REGEXFILE Date: Fri, 23 Jan 2026 15:09:26 +0000 Message-ID: <20260123150941.1877768-9-peter.maydell@linaro.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260123150941.1877768-1-peter.maydell@linaro.org> References: <20260123150941.1877768-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::42f; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42f.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: qemu development 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: 1769181217110154100 Content-Type: text/plain; charset="utf-8" We currently have two mechanisms for excluding files: * the REGEXFILE which excludes by regex * special cases in the "loop over each file" which make us skip the file Roll all the "skip this" cases into REGEXFILE, so we use a single mechanism for identifying which files to exclude. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Message-id: 20260116124005.925382-5-peter.maydell@linaro.org --- scripts/clean-includes | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/scripts/clean-includes b/scripts/clean-includes index 5ab3b07196..a45421d2ff 100755 --- a/scripts/clean-includes +++ b/scripts/clean-includes @@ -104,6 +104,15 @@ grep -v '^#' >"$REGEXFILE" <