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: 719980 Delivered-To: patch@linaro.org Received: by 2002:adf:d08b:0:b0:31d:da82:a3b4 with SMTP id y11csp1685696wrh; Mon, 4 Sep 2023 09:14:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG32DN5OWLuzm0SJU757TgPLIzboqSd1bk34yjNTm4cgPZMXb758nAAaJTsyPbZt9aHuySH X-Received: by 2002:a0c:f245:0:b0:64f:43b9:fe4c with SMTP id z5-20020a0cf245000000b0064f43b9fe4cmr9888744qvl.47.1693844042501; Mon, 04 Sep 2023 09:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693844042; cv=none; d=google.com; s=arc-20160816; b=v7EmAiKX5hM4wYMgNLJSQz4xYJsBiaPgVeN8IgFkG7pWocNVSj+vo4O397v36tuxdF uftC6ClTcswcYP8Wjo/iDIPdNAe+E58qzil3ui2050sJMqprr10+Agk6bjekpdHcG0nY VekMK0cRcP7SZ4V7RVlYC32+kNGKx1b+h4myz7uGWoDUl6v4CFzTJgu5RiKQExD3W1hs 81v+ThWrXz1E1VxOO3FV2F+5AVvsdyyhFZoeAJgk6y7P5DS/85Pz28r2ooPNUWfAywaP 7o/Jml0iKRadW4EpUwdmCOGlB9U41gIxF2vnE11iXfVldWNnKFVJnOY68dzDMdZYgSQz jlBA== 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=Yq8FYkdbDvoLNRHuC4AycCnU/bFGlRwAaDJitxv4be8=; fh=cwenUyNIKJUsdmBlesGyzJhuy5RRyVRyje4dsGoNSbw=; b=IYt3U94dQYxY1VqgLypV0+yqYDcvbw02z8WNjozTVR4v9K5C1yI98gfGdvArUw8AaD zOzwEtxSvRwIDysayVio1NnOXdrReFB+YjveHBzIfQ5UgCjjbBYcxKuChOcQK5kNCQLl Ftd8nauHPbqIgEKzVPXKqzRoPPaOhKDcvVhQb417u1iCucb5s5UjNL3JBly+CmXc37vC wCIa1SStvsZFqJpTWToqMUMmYxEgkoM2TeyrezJH7qND6nWfyrq++snKDYzBFvV6d/eV b1JKPrhxnBanAB+GOf14Kpb3+E7vyYZsmXyxFow5BXzMsl5ZSZxW8tr4uhOTbTj/uxnw hSCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RE5dZhf4; 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 t9-20020a0ce2c9000000b0063cfdc6e7c9si6845132qvl.186.2023.09.04.09.14.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Sep 2023 09:14:02 -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=RE5dZhf4; 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 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-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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.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(-)