From patchwork Mon Oct 9 10:02:41 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: 730982 Delivered-To: patch@linaro.org Received: by 2002:ab3:7922:0:b0:23f:8cfb:5ad7 with SMTP id j2csp1289501ltl; Mon, 9 Oct 2023 03:04:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFALWCk8+h28fHzrV02ZG2bMfasDVO4qOdnh0rNyv9g1OoqOsZYl+NbwH6T9Ss8ycjliOvX X-Received: by 2002:a67:e309:0:b0:452:c729:e9df with SMTP id j9-20020a67e309000000b00452c729e9dfmr12604865vsf.33.1696845859905; Mon, 09 Oct 2023 03:04:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696845859; cv=none; d=google.com; s=arc-20160816; b=Ge1eXjkpHCLkN2acOtN8PTI/NT60Xw47eF+w+yBrpgXCexITZbaUmDCv6ijJUWT2qw HLWmcq/p1h/Euw+2PV1fppyfm6MtqH4tHshDRTLCgQgIPt/czOP4DZLNPGQSYBRswUaC SCrKVy5Y/z2xD8H6vrStWTjNFMlFQC42uV3L70Znbcdx2kC8RGWRTSklowuMNP4SVm6U mFu/fv0EwbwPCG73/CMW91tMxFVd2C9qSpnxflmupmrDAIlWfYpNIxBVXwMo50FeQwRu UfhGFrDAtm4y5Jwhd8S+rvBFUFVs86kqj5mSBTELCqE7gTMNG43bsWIs9pKOhw+ElrKr upjA== 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=KNu5WskARX8t8uiglt34aaZEs4+GnJbim8ACZvASM0Y=; fh=+UA/OvAzPt1sCt0A7U0kURxgTxGl33GhvbTVlpu8K7o=; b=q6NshqNqjblq7RXKiOzIAkwHnqqoHEy6AfRv5Jn70npRvJgt07qp/5oSIU6pscu0dx rh53dww1k6V6T0c7TKaoJIykaspsQOYMU0AczV0OIcVJzY5IJqwl5WEdn8c02Y6zM8Sk ZbwPElQSGmQZunKTbVX8b+AbrnDDCfJBqBj+bhL2IFVQwMLDGu+kHUfLPiFFHQ0FbQ6e sF70ugK6tR/wwvPMiepJh+3SwYZjTVR6lQphRLJQmG+IaT0frHe1lfOfg4O/vOqLyQff h1BZxe3aDTteCSMJLAkGnyp3yZop/XdfHImLFExE2h2lr9EM0KAb7ZpSCHJEp7aSvPcy 5lQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tXyoQvhk; 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 n1-20020ac85b41000000b0041821adfb01si5941337qtw.632.2023.10.09.03.04.19 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Oct 2023 03:04:19 -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=tXyoQvhk; 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 1qpn6p-0003B8-OT; Mon, 09 Oct 2023 06:03:31 -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 1qpn6H-00032d-O7 for qemu-devel@nongnu.org; Mon, 09 Oct 2023 06:02:59 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qpn6G-00007s-5u for qemu-devel@nongnu.org; Mon, 09 Oct 2023 06:02:57 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-405361bb9f7so39467575e9.2 for ; Mon, 09 Oct 2023 03:02:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696845774; x=1697450574; 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=KNu5WskARX8t8uiglt34aaZEs4+GnJbim8ACZvASM0Y=; b=tXyoQvhkfD2Wf38ehOsdKFvomMms6DhkvoYTz4E2Gx2bPaXF4egALMXxY1SYhWPiFe +P4ejsy5TueuAtfS9qUjlej8UOE3eNtNwaPOyIe455iFuQCCFYzNY30uCa7GcsAoZ7M3 pSwBagpbXbRnPuYfhAG3UXxmiSDHs1Xuneb3MiRma04Z62JeUDuxtlgP//VnLVl4s1iF KvGq7lyVsGd0aZi39msvgswS02Y4vtPBzZXybmHVhxTpXMcOo4qPyICzw9NqYBjx9E9t uGZ+J1qk7f94eO34S82kkuQRwjqVIo2r7zj8SwxNPGViXtimgHEpA2cKMaSKFoTqL/1V iegQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696845774; x=1697450574; 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=KNu5WskARX8t8uiglt34aaZEs4+GnJbim8ACZvASM0Y=; b=ptDSRbVZ1p04UlwRzdSXPtsU9qJT8Y1UKkT46ceTNlkuDn3nEgml76Zl9ItxLNIMpD ON9ahTd8nD5607G7Wfe7uSFRSJaeHtHTtZZNrxajQ45EJ9dMY88s2ilXxX4vVErkJxCZ e1Ani1nNoLu6QnXGDhao0wKGFKsWIp912TsU0iO9UQchY9dWkTeDk359IAbBF8buY7/Q 0Go3wKQvQ+UdAVPMOzLbux7gJ8Zq+ifdbPJgSDWAglkmlZAIvqdVsBiQuEPdsMvEGRzD Unxy+Cu6nxT0aF4sfsG8auSEZB0BTOZ/og0sslOm78tV62amnEYiQnQWH5GdmA6UamID bGog== X-Gm-Message-State: AOJu0YyV6Rd6VcjqVHvTRSe0IbAwgmLn4r56n3Z4eWhD8lFrLIRtTba6 3QKzVts0MzmAoCZgVMucAFApz8sfb0nGD4Utu9A= X-Received: by 2002:a1c:4b07:0:b0:405:3ca1:f6ba with SMTP id y7-20020a1c4b07000000b004053ca1f6bamr12278207wma.3.1696845774603; Mon, 09 Oct 2023 03:02:54 -0700 (PDT) Received: from m1x-phil.lan (thr44-h01-176-170-217-185.dsl.sta.abo.bbox.fr. [176.170.217.185]) by smtp.gmail.com with ESMTPSA id n20-20020adf8b14000000b003296b62d413sm8723513wra.82.2023.10.09.03.02.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 09 Oct 2023 03:02:54 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Alberto Garcia , Hao Wu , Kevin Wolf , Thomas Huth , Laurent Vivier , Paolo Bonzini , qemu-block@nongnu.org, John Snow , Stefan Hajnoczi , Fam Zheng , Tyrone Ting , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 00/10] tests: Clean up global variables shadowing Date: Mon, 9 Oct 2023 12:02:41 +0200 Message-ID: <20231009100251.56019-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::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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 Clean up global variables shadowing in tests/ in order to be able to use -Wshadow with Clang. Philippe Mathieu-Daudé (10): system/qtest: Clean up global variable shadowing in qtest_server_init() tests/throttle: Clean up global variable shadowing tests/virtio-scsi: Clean up global variable shadowing tests/cdrom-test: Clean up global variable shadowing in prepare_image() tests/hd-geo-test: Clean up global variable shadowing tests/rtl8139: Clean up global variable shadowing tests/npcm7xx_adc: Clean up global variable shadowing tests/aio: Clean up global variable shadowing tests/aio-multithread: Clean up global variable shadowing tests/coroutine: Clean up global variable shadowing softmmu/qtest.c | 16 ++++++++-------- tests/qtest/cdrom-test.c | 6 +++--- tests/qtest/hd-geo-test.c | 12 ++++++++---- tests/qtest/npcm7xx_adc-test.c | 14 +++++++------- tests/qtest/rtl8139-test.c | 12 ++++++------ tests/qtest/virtio-scsi-test.c | 2 +- tests/unit/test-aio-multithread.c | 16 ++++++++-------- tests/unit/test-aio.c | 4 ++-- tests/unit/test-coroutine.c | 12 ++++++------ tests/unit/test-throttle.c | 1 - 10 files changed, 49 insertions(+), 46 deletions(-)