From patchwork Fri Sep 22 15:29:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 725227 Delivered-To: patch@linaro.org Received: by 2002:adf:ea87:0:b0:31d:da82:a3b4 with SMTP id s7csp1093020wrm; Fri, 22 Sep 2023 08:30:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGFTDCGF2k8kHPqHH5TDeAw4IXZ+//IAyovYLJfCarQCui+2Nk5jn6FMf2lRoo+frnlBHI3 X-Received: by 2002:ad4:59c5:0:b0:653:583d:d400 with SMTP id el5-20020ad459c5000000b00653583dd400mr8938299qvb.52.1695396644509; Fri, 22 Sep 2023 08:30:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695396644; cv=none; d=google.com; s=arc-20160816; b=lH0l+z6mWVB1Djk75vpTCLA55BFuoT66QznLK0jazrOnxsGFk5wN7KnaBUpBaegfXu eh2kgT5N0V5MnjPgUDsXNVH0EbYCOVEXp07yGy8oBTsV+aDwnJSVhEryWaVflg1d5f68 EbDbEqh2jfF/OQYX47qiM9QNctJf3slXEZiqlTGsPHDBsRiUSfYvaZdwtcMYT3lMTHcP BYzX8g89osiQIVgq0zVuE6fx516TVYSLrcZVwVzrCjSogd2XtDPbY1ko0ynXwUcMSAWd ZWrtC83l54dd397w5nvL3LcHuXIDV1ynTJ1coluAJLSEeYZdJGkksinY0dDEXtodT4B/ JhUw== 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=tfQhaCaoJV4bmK5DuDmiHN4FfP5XPw57DLNfRS7tR5k=; fh=uVBMvYrx+X7m1lFjfWwA+UgXnF+hI4+JyNcPtFqOEwM=; b=fmPDlp8lefsaeywrF522i3DlQfKzsRAuvuw/7pUan10shbmClmy80eB5fS7MCQW3tF zp+tUZYtFKyfaYtmLU6kQuLS8wo9pGc2LbCNVL/bY3NxoRfp5CgidLcsy3n1+9ORA+RF nmklTvE/GvXcNYmv8zEPriBgXUWEFzYwSI1T8Go06tmIFbMJJ5rNq6Ys+UHX2zgeKbCD dK3LQlC+HHa9jIN+Mcttgm+slCCVNjVMnTCHm1fkCrIBAWiLZ8RHZeBwfJiYlpqWdHEg bwJl4XBOIdWiwwGNDO41kXUsyxVbGfOMDt38Ixva+F06hpWHjDoscu7O6rrF0MmalUYU BH9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=akXCkgC+; 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 s17-20020ad44b31000000b0064aac6d7549si2323964qvw.432.2023.09.22.08.30.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Sep 2023 08:30:44 -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=akXCkgC+; 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 1qji6K-0005Hn-Kr; Fri, 22 Sep 2023 11:29:52 -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 1qji6J-0005HS-Qd for qemu-devel@nongnu.org; Fri, 22 Sep 2023 11:29:51 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qji6I-00007O-B3 for qemu-devel@nongnu.org; Fri, 22 Sep 2023 11:29:51 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40528376459so23327075e9.3 for ; Fri, 22 Sep 2023 08:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695396589; x=1696001389; 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=tfQhaCaoJV4bmK5DuDmiHN4FfP5XPw57DLNfRS7tR5k=; b=akXCkgC+kokjTnyKMAgDdXU3euZRS/Fg8BqKZntSHV71W3PxNsx6y4v5A552JFC9WO 8r/7/BfVA1qeWlMcB/tdxx8F/vrmY5Awh4YGu0uzIRQbkn7FH6ZSNjoeSvb+hDzx6wn4 wGWJd2l3Qz4QifNhB4xFjwdVCYUrdbjOEl2HwQ0FctLFOkNYn8aflNXRzlhL2D0Fw85Q L8LZxrJPn4Q+vYXPf6c5v+ziQeMXINm9aVp1pPHL4k04Z3+yx2VfMgGFfIo5UYsVqnsZ QFWpLJD37NdGoEvVGxVBiv2q2c0y1BHa+JMLawZaVWqL+PgxTfpOrRTqz6OSl7cYbnZP Kt3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695396589; x=1696001389; 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=tfQhaCaoJV4bmK5DuDmiHN4FfP5XPw57DLNfRS7tR5k=; b=wcuqPRbqPfybk2IXmrPPKPB/5LPE2ycpp22b48IzS/Mq5cgT75UA9uvQI9Nn8R6/AS 8y9//wqGwk7jc9euDfJnYNxR5KlW6Z0wflJzDLFLmP2dSg/MuWBO81ANeKwM0uuhI6Yd 5ScGYsgsk7+Yjy/ivk3OO5z/rza3yInUYz9+MeGkfYlqEYCD3E/RTrHmztMg2nJE0iQw rd/+L2EeQ/10fMcl07+dywZb5P6g3g0FkgzFqdun95hzXXJe3np7cfNj0acalPryV0f3 I0vVN7avHAIZug4RmrXFwPhz9wuxMZNFzaWwoJRgnlfGyN+RahpDM+FplUlOOGR2peAe Q0lA== X-Gm-Message-State: AOJu0Yws7HqycpcVOwmXksG1BjQzlNtzoFThw8wpEeiSUCwt6xFz+fww XO1CXbk9GN5EAVg1AJ2uyC6+NQ== X-Received: by 2002:a7b:c5ca:0:b0:404:fc52:a3c6 with SMTP id n10-20020a7bc5ca000000b00404fc52a3c6mr8573033wmk.25.1695396588166; Fri, 22 Sep 2023 08:29:48 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id c22-20020a05600c171600b00405442edc69sm777137wmn.14.2023.09.22.08.29.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 08:29:47 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: Eric Auger , Markus Armbruster Subject: [PATCH 0/4] arm: fix some -Wshadow warnings Date: Fri, 22 Sep 2023 16:29:40 +0100 Message-Id: <20230922152944.3583438-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x334.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 These patches fix some -Wshadow warnings in arm related code. -- PMM Peter Maydell (4): hw/intc/arm_gicv3_its: Avoid shadowing variable in do_process_its_cmd() hw/misc/arm_sysctl.c: Avoid shadowing local variable hw/arm/smmuv3.c: Avoid shadowing variable hw/arm/smmuv3-internal.h: Don't use locals in statement macros hw/arm/smmuv3-internal.h | 41 +++++++++++++--------------------------- hw/arm/smmuv3.c | 4 ++-- hw/intc/arm_gicv3_its.c | 6 +++--- hw/misc/arm_sysctl.c | 6 +++--- 4 files changed, 21 insertions(+), 36 deletions(-)