Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 011E4C4338F for ; Sat, 14 Aug 2021 05:28:44 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 60E6260F14 for ; Sat, 14 Aug 2021 05:28:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 60E6260F14 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=comstyle.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:51716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEmDq-0000yx-BA for qemu-devel@archiver.kernel.org; Sat, 14 Aug 2021 01:28:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58846) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEmDA-0008SE-6E; Sat, 14 Aug 2021 01:28:00 -0400 Received: from speedy.comstyle.com ([2607:f938:3000:8::2]:47690 helo=mail.comstyle.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mEmD8-0006To-NR; Sat, 14 Aug 2021 01:27:59 -0400 Received: from mail.comstyle.com (localhost [127.0.0.1]) by mail.comstyle.com (Postfix) with ESMTP id 4Gmppl5ZQKz8PbN; Sat, 14 Aug 2021 01:27:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=comstyle.com; h=message-id :date:mime-version:subject:to:cc:references:from:in-reply-to :content-type:content-transfer-encoding; s=default; bh=P2v4hX7Is ofpK5s/HyQ1A9YMtj8=; b=eYDAd6SuR2oNjfyJvbgCBdxcMVAwueJX6BMogaZrd armj+JfyWcDir+FVNLBELWmc5H1RLkF4bbMGRhWLs64zKvmi1l8j4pCFT0v4Jngt IWLCX4WN59tBHSxmGRVSr20CL7wEj8agHO0RYxfHpRWJbirWxhIohRbErEwlHysn jc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=comstyle.com; h=message-id :date:mime-version:subject:to:cc:references:from:in-reply-to :content-type:content-transfer-encoding; q=dns; s=default; b=Fv1 uo5t8nbW72GixiPYq3LWXhMNAPPa6RbcLvftcdySxsRbchlMs3U6CegBrfftZ2gB fAurl2yAyjqDSBbWILdcrNy+DZSEN1o8pHZEByu08kKSXf5+uVP4ZoPl2W1r96W7 cb2Kr7QeD4ZD0lIN80vugNfyygDK7a4yFCLSQNlM= Received: from [IPV6:2001:470:b050:6:a99d:8475:6cbb:a6b4] (unknown [IPv6:2001:470:b050:6:a99d:8475:6cbb:a6b4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: brad) by mail.comstyle.com (Postfix) with ESMTPSA id 4Gmppl28CHz8PbK; Sat, 14 Aug 2021 01:27:43 -0400 (EDT) Message-ID: <6ac76093-f760-9d41-d924-bc07cca07a3f@comstyle.com> Date: Sat, 14 Aug 2021 01:27:42 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Thunderbird/92.0 Subject: Re: [PATCH 00/11] Fixes for clang-13 plus tcg/ppc Content-Language: en-US To: Richard Henderson , qemu-devel@nongnu.org Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , David Gibson , Eric Blake , Gerd Hoffmann , Greg Kurz , Jason Wang , Laurent Vivier , qemu-block@nongnu.org, qemu-ppc@nongnu.org, Vladimir Sementsov-Ogievskiy References: <20210712215535.1471256-1-richard.henderson@linaro.org> From: Brad Smith In-Reply-To: <20210712215535.1471256-1-richard.henderson@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f938:3000:8::2; envelope-from=brad@comstyle.com; helo=mail.comstyle.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, NICE_REPLY_A=-0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 7/12/2021 5:55 PM, Richard Henderson wrote: > 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? Yes, this does. Thank you. > Others: Only patch 7 obviously should have been using the > variable indicated as unused. But please double-check. > > > r~ > > > Cc: Alex Benn=C3=A9e > 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(-) >