From patchwork Mon Jul 12 21:55:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 473139 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp3342691jao; Mon, 12 Jul 2021 14:56:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNwFnX/+WKCHigzjjvtIxO+rgE11rdSbeU0sQw6r69ZUPGBFl2a+O23F6+kEr32JMzyUOE X-Received: by 2002:a05:620a:1aa9:: with SMTP id bl41mr870291qkb.161.1626126967121; Mon, 12 Jul 2021 14:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626126967; cv=none; d=google.com; s=arc-20160816; b=rCJaSB3caQ3+QDM3FE+SCuj9Ft3Crvy2ifzxpjPUe4y2Ce9FiY+35ESZbFQ9dupXNo Ub3eJrk115MzQlDp1g9M1cVRYZA38wApMMId0orqLOo8qvvKhH55eC+6UaWngSHbFoDz 6NvS3kjl4ir+hhCdNjKDkYLnD1HQQJPGa9aOM4UJUNi0+vjHjRI7L+vpAP1TBeWcy4Ed B4acmJPZlb21Tz2yr66jajFOqz/uTCJEL0Qo0zhJcbOfjXcnDzxVxBYi8NW2hBN/WwtL MqcQZG749Sj+VsgIRCcJAgh9Vfp1oYVxwc47t8MbLyvFAVH9U8KDvciHDjgfxqF/2oYS LLQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=KuFWlyQfsTC700l34L8WQPukt8R7vtzeaY2C9szAhUk=; b=YqbZz2Rqshn8OLgiw7abmQI4uCjXvVpPGjf5Qd2dAUW82CB8UGwes7LHZbxsuaCvmg +/vRt1wHMHx2n11/MWS8ws75NFr8Cz6l4OQ74U1qd80ODdCJOahP7f7YbLGNVAGMZT7V YhYzcQFMytWlEuWULtlw58hhrkowm9NHBrEbHHPGYFSWarlSgaO23BycbMtrM9JOZr7u +K7KiVykZdLr5qiB5DqL5Dp8op1hFbKMr8CtEL/mj6GftRLl1zZbYwBY8cYIGtj8lE2C VpWNO5RVyHyk5JOIs6/qtBqaF60CMxTCXF7WT2SfHSesZFkZVCumH+R5CrNYJKeEoY+X MtCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=jbItZAHG; 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=fail (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 r193si3410199qka.365.2021.07.12.14.56.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Jul 2021 14:56:07 -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=fail header.i=@linaro.org header.s=google header.b=jbItZAHG; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:57148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m33uI-0000aQ-I6 for patch@linaro.org; Mon, 12 Jul 2021 17:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m33tu-0000XI-6y for qemu-devel@nongnu.org; Mon, 12 Jul 2021 17:55:42 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:37573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m33tr-0006q7-0N for qemu-devel@nongnu.org; Mon, 12 Jul 2021 17:55:41 -0400 Received: by mail-pg1-x529.google.com with SMTP id t9so19744434pgn.4 for ; Mon, 12 Jul 2021 14:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KuFWlyQfsTC700l34L8WQPukt8R7vtzeaY2C9szAhUk=; b=jbItZAHGEmy0SbDe55s3CLuobrI+dGMjU5tKIaoD3NFiHsLQr7fBF30+ja9iSWW2E1 pBTYZYQhh/dCZHeGng16AaqXhvAyfarM0bbTI9n0NPrG0K+TZ1IOO7bqiwdjugALiE6a dxexLaUDBUX3bK3tFB+oRAbukxTkvOIaunmvOf8QZmX2BqpugU/lHnB/tkJtATry2kT/ xVbO8T/JR5mUrRIKdMmxKoKuRmYnQMS6B7pjMvUDLH5IPP/up6FFr9HZXBMk30Ow+q9O Yv5CcT7px9kQs+fcZzdW/HtSlnAUJUcJhh240W/cCOMJXGtQDvJtf/9esS5Md9/aLMf0 cq0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=KuFWlyQfsTC700l34L8WQPukt8R7vtzeaY2C9szAhUk=; b=PEzRt6TDnaY2TVqrqiSXrxD0JWLahgfkwuXvHF/IgfUskKMbVQgwO7eQhcf8hJzgC+ Fh2v5Emxug8iJCcn653Mb8qP1WECPeMgGvnfgqP7bGCBb3+dFX8JpfLCsmB8JzbuIQ9M z/aj5zCx4wlEbGge/DkWbLC7yra/bcr+sMHoumnC/mTDZ1uJvSPsZ+DVpttkxAf2evZA ABTTQpmTvd6Q7KnjdO2a5Tw+Y/lAPAz0Ax57Iv/pkfEwo7FuM4mH3Bwy2ZjhqEGDOGtw pbQqcx0OYIeWr70kU3MwFB0Zif6AV9Wh2uW4E5254mD+hKQWvPYoPsW3BhDqLTxQ2h81 8z1g== X-Gm-Message-State: AOAM5308lQbo1ejo5Jvl7zlCNpDU8PEtP3gK4nvPTLJ592RLjEFxQqW9 Swq/dipfQ8Kih42TANixDyv6L3x8IjqkMw== X-Received: by 2002:a05:6a00:1481:b029:304:87ea:8dcc with SMTP id v1-20020a056a001481b029030487ea8dccmr1138354pfu.46.1626126937302; Mon, 12 Jul 2021 14:55:37 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id d2sm376932pjo.50.2021.07.12.14.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 14:55:36 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH 00/11] Fixes for clang-13 plus tcg/ppc Date: Mon, 12 Jul 2021 14:55:24 -0700 Message-Id: <20210712215535.1471256-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x529.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vladimir Sementsov-Ogievskiy , qemu-block@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= , Jason Wang , Greg Kurz , Laurent Vivier , qemu-ppc@nongnu.org, Gerd Hoffmann , Brad Smith , Eric Blake , David Gibson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The goal here was to address Brad's report for clang vs ppc32. Somewhere in between here and there I forgot about the ppc32 part, needed a newer clang for gcc135, accidentally built master instead of the clang-12 release branch, fixed a bunch of buggy looking things, and only then remembered I was building ppc64 and wasn't going to test what I thought I would. So: Brad, could you double-check this fixes your problem? Others: Only patch 7 obviously should have been using the variable indicated as unused. But please double-check. r~ Cc: Alex Bennée Cc: Brad Smith Cc: David Gibson Cc: Eric Blake Cc: Gerd Hoffmann Cc: Greg Kurz Cc: Jason Wang Cc: Laurent Vivier Cc: qemu-block@nongnu.org Cc: qemu-ppc@nongnu.org Cc: Vladimir Sementsov-Ogievskiy Richard Henderson (11): nbd/server: Remove unused variable accel/tcg: Remove unused variable in cpu_exec util/selfmap: Discard mapping on error net/checksum: Remove unused variable in net_checksum_add_iov hw/audio/adlib: Remove unused variable in adlib_callback hw/ppc/spapr_events: Remove unused variable from check_exception hw/pci-hist/pnv_phb4: Fix typo in pnv_phb4_ioda_write linux-user/syscall: Remove unused variable from execve tests/unit: Remove unused variable from test_io tcg/ppc: Replace TCG_TARGET_CALL_DARWIN with _CALL_DARWIN tcg/ppc: Ensure _CALL_SYSV is set for 32-bit ELF accel/tcg/cpu-exec.c | 3 --- hw/audio/adlib.c | 3 +-- hw/pci-host/pnv_phb4.c | 2 +- hw/ppc/spapr_events.c | 5 ----- linux-user/syscall.c | 3 --- nbd/server.c | 4 ---- net/checksum.c | 4 +--- tests/unit/test-iov.c | 5 +---- util/selfmap.c | 28 ++++++++++++++++------------ tcg/ppc/tcg-target.c.inc | 25 ++++++++++++++++++++----- 10 files changed, 40 insertions(+), 42 deletions(-) -- 2.25.1