From patchwork Mon Sep 4 16:12:12 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: 1829681 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=RE5dZhf4; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=patchwork.ozlabs.org) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RfYbw4mD7z1ynq for ; Tue, 5 Sep 2023 02:14:04 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdCBv-0002EZ-TD; Mon, 04 Sep 2023 12:12:43 -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 1qdCBv-0002EN-94 for qemu-devel@nongnu.org; Mon, 04 Sep 2023 12:12:43 -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 1qdCBs-0007Pi-D8 for qemu-devel@nongnu.org; Mon, 04 Sep 2023 12:12:43 -0400 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-99bed101b70so250335766b.3 for ; Mon, 04 Sep 2023 09:12:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693843959; x=1694448759; 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=Yq8FYkdbDvoLNRHuC4AycCnU/bFGlRwAaDJitxv4be8=; b=RE5dZhf4U6vcHmdaYlfT32glp+hJ7F7hAQbkEOiSIzcsSLLF5rFavv62EXiRGnpEnY NHYa3JUYHuZLlxhElG1n4cm1xRuMcbdmb3xFkXqEtMT1ph6tsRfinspxxubtTbOwSCyO CBeNhwq10DtXAJrehwyi7O9pAraddrYWju1GqYDgSwI5WFiq5hR2JgTmXv4XhVf99USB az5fXlOPmNBl81SjgjQYNsFDJCoBGjriH5tTf6/4ZZks5lL9KidUZ7GQbBf1zMxAaw9P k6Kq0YiSrcvjqC1Ss+5cmBpmVtTqpHPfp1+SjqrETo9KMkAcvQchHCao+0wwEgBss94w sJRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693843959; x=1694448759; 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=Yq8FYkdbDvoLNRHuC4AycCnU/bFGlRwAaDJitxv4be8=; b=lfq61o//QLIut91hi98g3EpTCIZHp5G+xdeCLJv6vuS71+o1DFCwPxQdMXZWMT9aW9 0Vb1wklXgur5NLJWlvZltjxBu7J9BBujLhQL3i5V8FKEBZ2VQGcRDSbcjoGghMuRzKI6 Do7ani0ObfQ/dRWIgq0p6mFJpNXagHQrew0Ta76E8zcfHm/1NJltJV1jkHnS7e/HwEht QVG7keYSzPHv9keQlTvzxGsRzHG/PSmweT+Lra/pXaybZTMy6+Hk+OzIxICz3GaL+AUt g6rNqdQAcNrLwA7JjC6HPihk+UbOLgK39vONsFez4VTMxhXXSmw3v085v+fVOt8vFfYz t6Mw== X-Gm-Message-State: AOJu0YzfFVoxbt/RL9vQPakzv1dgGx32hHw+THsnSwunLSUFL2Zq1F0g kZ2nLj05WIQRUVW2/ie4AfiTmA== X-Google-Smtp-Source: AGHT+IEFykln6WpUZPoMbG1XhrdPDZTQTvIQvNInnb/Pm6DgV0BZKRFdPvMC3zQKPLKbJGxqRaZiiQ== X-Received: by 2002:a17:906:5393:b0:9a6:1560:42dd with SMTP id g19-20020a170906539300b009a6156042ddmr8732121ejo.51.1693843958457; Mon, 04 Sep 2023 09:12:38 -0700 (PDT) Received: from m1x-phil.lan ([176.187.209.227]) by smtp.gmail.com with ESMTPSA id q6-20020a170906940600b0098e78ff1a87sm6339544ejx.120.2023.09.04.09.12.37 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 04 Sep 2023 09:12:37 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: Markus Armbruster , qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-D?= =?utf-8?q?aud=C3=A9?= Subject: [PATCH v2 00/22] (few more) Steps towards enabling -Wshadow Date: Mon, 4 Sep 2023 18:12:12 +0200 Message-ID: <20230904161235.84651-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, 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Since v1: - Addressed review comments - Added R-b tags - More patches For rational see Markus cover on https://lore.kernel.org/qemu-devel/20230831132546.3525721-1-armbru@redhat.com/ This series contains few more, my take. Based-on: <20230831132546.3525721-1-armbru@redhat.com> Philippe Mathieu-Daudé (22): tcg: Clean up local variable shadowing target/arm/tcg: Clean up local variable shadowing target/arm/hvf: Clean up local variable shadowing target/mips: Clean up local variable shadowing target/m68k: Clean up local variable shadowing target/tricore: Clean up local variable shadowing hw/arm/armv7m: Clean up local variable shadowing hw/arm/virt: Clean up local variable shadowing hw/arm/allwinner: Clean up local variable shadowing hw/arm/aspeed: Clean up local variable shadowing hw/ide/ahci: Clean up local variable shadowing hw/m68k: Clean up local variable shadowing hw/microblaze: Clean up local variable shadowing hw/nios2: Clean up local variable shadowing net/eth: Clean up local variable shadowing crypto/cipher-gnutls.c: Clean up local variable shadowing util/vhost-user-server: Clean up local variable shadowing semihosting/arm-compat: Clean up local variable shadowing linux-user/strace: Clean up local variable shadowing sysemu/device_tree: Clean up local variable shadowing softmmu/memory: Clean up local variable shadowing RFC softmmu/physmem: Clean up local variable shadowing hw/m68k/bootinfo.h | 10 ++++------ include/sysemu/device_tree.h | 6 ++---- accel/tcg/tb-maint.c | 3 +-- hw/arm/allwinner-r40.c | 7 +++---- hw/arm/armsse.c | 16 ++++++---------- hw/arm/armv7m.c | 2 +- hw/arm/aspeed_ast2600.c | 2 +- hw/arm/virt.c | 3 +-- hw/ide/ahci.c | 6 ++---- hw/microblaze/petalogix_ml605_mmu.c | 2 +- hw/nios2/10m50_devboard.c | 4 ++-- linux-user/strace.c | 1 - net/eth.c | 2 -- semihosting/arm-compat-semi.c | 9 +++------ softmmu/memory.c | 1 - softmmu/physmem.c | 10 +++++----- target/arm/hvf/hvf.c | 8 ++++---- target/arm/tcg/mve_helper.c | 16 ++++++++-------- target/arm/tcg/translate-m-nocp.c | 2 +- target/m68k/translate.c | 2 +- target/mips/tcg/msa_helper.c | 8 ++++---- target/mips/tcg/translate.c | 8 +++----- target/tricore/translate.c | 6 +++--- tcg/tcg.c | 16 ++++++++-------- util/vhost-user-server.c | 2 +- crypto/cipher-gnutls.c.inc | 4 ++-- target/mips/tcg/nanomips_translate.c.inc | 6 +++--- 27 files changed, 70 insertions(+), 92 deletions(-)