From patchwork Mon Sep 4 16:28:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 720004 Delivered-To: patch@linaro.org Received: by 2002:adf:d08b:0:b0:31d:da82:a3b4 with SMTP id y11csp1694395wrh; Mon, 4 Sep 2023 09:28:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGaj55PMXVJg10zKUoePQSN7Icmv+EFN2MXmFdeQCRNWard8EtdBvge5v1L4vmln3joNdY0 X-Received: by 2002:a0c:b45a:0:b0:641:e7b8:6abf with SMTP id e26-20020a0cb45a000000b00641e7b86abfmr10292146qvf.40.1693844928095; Mon, 04 Sep 2023 09:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693844928; cv=none; d=google.com; s=arc-20160816; b=ceCgUx45Y/5zoceK3+4QJwn/VJhujGfxut3y/PHOSE3ckzhgkaPH4MLqJTBKjtLZFX ZCeQkdJlA6Oitnd7CbN5kMBRAPoQAtmmbJ052Q0bMKPy1B2Rl0lFz5ix3UnxtCjWl6Vl NHez7ARSVEauLCDMo64SJ/4B76AFfAeIDJQ3Z/lxH/HQCGyldc95K3D3kxT6YaXeFqFZ AvIbyu/nyxZJjX/7Ug0/kHgCG+fJqcWC5J4YuHohiJS1lQlIP0ZUTnlKgmqbJshQ8a0V 96u+PPX49WwDiFiwh5DI5bbGD+Bn3c9FJI9Wt1xGpo042Rd6F1Ju7VX9SGJ8bZxjhE0M TEag== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=3IKuhws/bAum6TTbwOlIp5IuJegkUw+g88cYhxcpc0k=; fh=A7Ia7tX9RZuNaScQIb+u8dYQIqnop/JsEnAVIUNgUWk=; b=wS8CMSom+G4zSIHcYCKuLKe55ec3bkWvvlOFsOOzia/Gm4Mtre5eyHXiLNKFLxDExH zXuhaVXwKgHci/Fr18lRmgMJA5Hgu395NtoWNZe+zuEQL0rwApQSsaU/h0HOBOE6N+WK VEI2UG6oMHNPNM4ZPJ1ZOkFEtRqCH3eeapve0eRvbZ6OyHFK6XD9F3adQDbfGnISeUG0 3Bovf9uipTZ78qaPJbJ2isj9jk3wMnPIhMy3N21ECx35roJWgNGi570iv4r8J5x8Fp2S PpAiEwb0G+55dTliKcldk/hrPvCwo17E5wDAEv63g4jKXbuV1FO4iu4LIR2Wd6B3nXGM k1DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YO0Ubzrg; 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 bk11-20020a05620a1a0b00b00767f1da20c3si7154094qkb.500.2023.09.04.09.28.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2023 09:28:48 -0700 (PDT) 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=YO0Ubzrg; 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 1qdCRK-0001tZ-Qb; Mon, 04 Sep 2023 12:28:38 -0400 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 1qdCRG-0001rR-Bb for qemu-devel@nongnu.org; Mon, 04 Sep 2023 12:28:34 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdCRA-0002Hq-Np for qemu-devel@nongnu.org; Mon, 04 Sep 2023 12:28:34 -0400 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-98377c5d53eso237129666b.0 for ; Mon, 04 Sep 2023 09:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693844906; x=1694449706; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3IKuhws/bAum6TTbwOlIp5IuJegkUw+g88cYhxcpc0k=; b=YO0UbzrgdjgB42DprpS3yLYl241AkLfjeNs+vqYR7CdsHqLyHi7zNr49lAHp/QDX9D Oia6OlzdUL1Jtrp3tvdnbzrQh0a8XZuvR8IG/TmC8DKaP0/6dZX8WrEcwoQ/vxyf1T5R 9zANgDP5LytbMJlTfNDgfkYrslqh/T1hUtRjb7t1fRFYiEuHDyp7RGX9CSf2WA/P8rgF YJonyzEsM7/NkwRYYJZlnat3BgzA30t4D9zpsrs1vyQgRMA8bQi2f+vHoDNP2ZFY+RJ6 VQOoVP1YZ8vKKOjzAhlTG0arq7FSsvDWUnxCSB6+k/rl6a1MN1zg+06uSeS/82KTLJXp rIvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693844906; x=1694449706; 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=3IKuhws/bAum6TTbwOlIp5IuJegkUw+g88cYhxcpc0k=; b=iPQqhgohx0WXofaVFM6tVRh2lIAdiW2Xez/yE2ggHkeqH7CEmjBmH9DE0knJpLzUmu mUU/vemxqw7tIsCEJfvOlUpSNQC6r/aG3ae7hhfqlPHhH37mK2uAjSYp/E8zaflom3CK RKW7TPvvBdssHgMS/Z0c96U5eHpCri8lW81btxBwyKbvJ0goIfaoObGtQ2QCYCRTjtZD aOkjRdfIdr2w1JqKmXyxwLrzW5yWsCWnPSKXgsQEIPoM+d6TJmMIuDRfkCzm+VsQkpmO ECa0VZ/Mib1NaY+egldqsG+7zYinVJ/188SGUQYYn5CgV60ArzXoBdphwuQlCuwwT+Wn 7Sog== X-Gm-Message-State: AOJu0Yy+tcHRDCq2sSLCVA5nyXw/+6RX2Y+aCtQG8eYxidcRp8tluKHE YQq/AfhHIwA6uSW7md813X9m8t10P3j8g2d2mkM= X-Received: by 2002:a17:907:a076:b0:9a2:292d:ea60 with SMTP id ia22-20020a170907a07600b009a2292dea60mr7555853ejc.40.1693844906698; Mon, 04 Sep 2023 09:28:26 -0700 (PDT) Received: from m1x-phil.lan ([176.187.209.227]) by smtp.gmail.com with ESMTPSA id e7-20020a170906248700b00982cfe1fe5dsm6384747ejb.65.2023.09.04.09.28.25 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 04 Sep 2023 09:28:26 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Markus Armbruster Cc: qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?q?aud=C3=A9?= Subject: [PATCH 0/3] (few more) Steps towards enabling -Wshadow [3 more] Date: Mon, 4 Sep 2023 18:28:21 +0200 Message-ID: <20230904162824.85385-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=philmd@linaro.org; helo=mail-ej1-x636.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, T_SPF_TEMPERROR=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 Just missed while posting v2 eh :/ (https://lore.kernel.org/qemu-devel/20230904161235.84651-1-philmd@linaro.org/) Philippe Mathieu-Daudé (3): hw/core/machine: Clean up local variable shadowing hw/intc/openpic: Clean up local variable shadowing tests/qtest/pflash: Clean up local variable shadowing hw/core/machine.c | 2 -- hw/intc/openpic.c | 7 ++----- tests/qtest/pflash-cfi02-test.c | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-)