Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6F8B77A for ; Fri, 15 Apr 2022 04:57:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C63D2C385A6; Fri, 15 Apr 2022 04:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649998632; bh=sdf3KNK2bCPLRKBu/jbG05O+vAvWO2dlRW++18iqkWk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=yvgRgIJ/EZ6dXfJiAClGq2iKMGVu4cGaeM/SFONhtbI5bvkcjb/7i7oKBSmmQa9cv +NjKml8zX249PhAmTJ5Jnc87fv5ivODJ4zVVpPFR9DNgmRnTYOzlEuiyrvCVCbrOu7 YHfKOZXN69H6QJQ9ETNNlzsaLOO12ASlRFtY7OHk= Date: Fri, 15 Apr 2022 06:57:09 +0200 From: Greg Kroah-Hartman To: Nathan Chancellor Cc: Sasha Levin , stable@vger.kernel.org, llvm@lists.linux.dev, Nick Desaulniers , linux-btrfs@vger.kernel.org Subject: Re: btrfs warning fixes for 5.15 and 5.17 Message-ID: References: Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 14, 2022 at 01:29:45PM -0700, Nathan Chancellor wrote: > Hi Greg and Sasha, > > Please apply > > ad3fc7946b18 ("btrfs: remove no longer used counter when reading data page") > 6d4a6b515c39 ("btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups()") > > to 5.15 and 5.17 and > > cd9255be6980 ("btrfs: remove unused parameter nr_pages in add_ra_bio_pages()") > > to 5.15 (it landed in 5.16), as they all resolve build errors with > CONFIG_WERROR=y and tip of tree clang, which recently added support for > unary operations in -Wunused-but-set-variable. They all apply cleanly > and I do not see any additional build warnings and errors. > > Commit 6d4a6b515c39 was specifically tagged for stable back to 5.4, > which should be fine, but it really only needs to go back to 5.12+, as > btrfs turned on W=1 (which includes this warning) for itself in commit > e9aa7c285d20 ("btrfs: enable W=1 checks for btrfs"), which landed in > 5.12-rc1. Prior that that change, none of these warnings will be > visible under a normal build. Now queued up, thanks. greg k-h