From nobody Fri Apr 8 00:18:56 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D5F911A932D2; Fri, 8 Apr 2022 00:18:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJl54Q6sz4wJq; Fri, 8 Apr 2022 00:18:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649377137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xWarhifp/kJ/ILHpIAwLUAYDE/Y7kHQHvZraarxcm5g=; b=N6IM8Ualf1oRC3kb02aGBix9cKZKg1OcWVmTAi/c6fSN+GNEXSpvZ6krydrN3Ic1t15RYp 90uECXc2dg+Q2R6rsiNIG4EXbR6RiGDd/WnBPY6slEKT2QNoWBy1equ2Tfvy0FLuxguj/K QB7pSb4T+zn9df+0CGZOffiqoeysv3jaBmqu5R4m24U6rHNfsr9N4WjehFBiBpjJ2+0/gN OyZr752angngILTQ7CfuZEQG9nCoEklAbJNCVd9BvgHT25O5EOj03Kim52ZHjD2ushx84c Oi5/ZfNgPppkOGe7IAX6hV98KKufDkmbNzYsiED0yrK3wKdQOYQR4mIR3NA6Lw== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 01EAD238F1; Fri, 8 Apr 2022 00:18:56 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <6ab36d24-b934-d835-1256-dcbcbab44e60@FreeBSD.org> Date: Thu, 7 Apr 2022 17:18:56 -0700 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: git: 0c348b97eb05 - main - zfs: Disable -Wunused-but-set-variable for a few files in zstd. Content-Language: en-US From: John Baldwin To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202204080004.238043GV087171@gitrepo.freebsd.org> In-Reply-To: <202204080004.238043GV087171@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649377137; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xWarhifp/kJ/ILHpIAwLUAYDE/Y7kHQHvZraarxcm5g=; b=Vl/u7ZzRwp0H3ApB6khVOyIH5ZpFncm4FMUGQxP1UIQxmH67uakluApZeh/eYRQgBdRetj 9K0WXEsQA86k8WPt5nxiBgs02DUxmL470wV4dAKpwYYc5242nfyTudsalTFBM6yH29enF/ NfbsdDahyn/qRZPA0Ccbii69m7xjw+VkJbFXtkxumXrShQtZlrWor9NUU0YkNa/Bt6MV0+ WrFN5NANbrCQN0Xhh12Syie7H+UYfi97mG2R7rcpE0Usn/NA/Eeqh/s3l3kkLSbg0cGW4F +XT0fk+7E1n+vsLguc8c2vUS4JlM7iIDrq2B2q8fLhPGVpS2xIeLRNDJ7H/t3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649377137; a=rsa-sha256; cv=none; b=fpTSI3m2J9RltJcvNgnCLVDWsIcjEpDbscOXj6dCryL0hJaaYyf2NVOVZ2kl0xvdpMhPQw D32Q9YL25qQKFkl50Xc0iwyN6p4nPw96xv04CJLh7JBEERqCTtpMNnSs596E5yzSCnxvVI kJn2pMWut+yqoxfseHQZhSQTgftlsAroh7MPBvwa/8bMS5nFIB/pXiLNmxUTYsJoK3MnCn oP2EOaJ7nhVilNtCKBI0FU4wsudHD5O3pEo4Sfx7sMXQeMvovR4tFS3KY7gFAhxEtdOjwU HVKSl/gKxZcHrOCpr72fBukHYNjX9sg8ehhHUD1SYQKglrBozHhp6MU3Vtuz1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 4/7/22 5:04 PM, John Baldwin wrote: > The branch main has been updated by jhb: > > URL: https://cgit.FreeBSD.org/src/commit/?id=0c348b97eb051b22f3ee956f17c332eaacb63d59 > > commit 0c348b97eb051b22f3ee956f17c332eaacb63d59 > Author: John Baldwin > AuthorDate: 2022-04-08 00:01:29 +0000 > Commit: John Baldwin > CommitDate: 2022-04-08 00:01:29 +0000 > > zfs: Disable -Wunused-but-set-variable for a few files in zstd. > > FSE_createCTable raises the warning because we stub out malloc() to > NULL in the kernel, so the passed in size is unused. > > ZSTD_seqDecompressedSize has a variable whose value is only used in > assertions. > > NB: These files are missing corresponding entries in sys/conf/files. I still have a few less trivial patches in review, but with those I'm now able to build an amd64 GENERIC with the -Wunused-but-set-variable left as an error. I'll try to take some other arches (i386 and arm64) as well as LINT next. -- John Baldwin