Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1307166lqz; Mon, 1 Apr 2024 01:50:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWabKHkXH5eetCdtzJ9gvT9fp4J4FNDltK4ZBfmRQKOUdJsQm8jokp83vPNYEdLsdaIixS+ejBElUL8xB3EkbM/a0OQs72N4NY/SoHovw== X-Google-Smtp-Source: AGHT+IHCByxKpSEXMX3TgYYP0zpV/WwxPNGx+ITvuGU1/q7NoSI2WBvASsxVXotaYPn0tdqHBOsS X-Received: by 2002:a17:90a:5891:b0:2a0:9b66:8e22 with SMTP id j17-20020a17090a589100b002a09b668e22mr5539179pji.24.1711961450743; Mon, 01 Apr 2024 01:50:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711961450; cv=pass; d=google.com; s=arc-20160816; b=CLT4cv+YwkXiebxTPHU3GBElmYjas74soJ93ZavkNnthErOe/8YOz4NIphyJmpNVpK IdEbFo0z+2D5B5QLvhT6Mp7yi3RidSmC0b9Ozawefm4+ItXgRfqx5B0Tsso+2MfudeBM +5t6x1ebWq4FUtBOXGI4J0hIVBGuy1X/H/RRRnghe7oJbm4QS+Mi294rfQoVyXdbd/j2 xi5LA38qFWoOjXdEiiNhvPci6i0PaCLGauZu8H5/pfD0X7l/dQyFAW9w9+7PhfKCp5mD NzMC1tPOgjfc+CwrqObmiEH/tOI9wcle2BJRTYO/xcNzFn+hrIRLSdgJzPntKDXYjgxF TcFA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=+S6SCZQO7TgFScp4NxmbTQ2hDxX7t0YLcRX7Il/g4lw=; fh=9FFygn09AqhHGXJvZXf6ndMw9CYN01Cuiu0hiw6yuw0=; b=Eyzhp6LosiKeot7NDCqzlnyQpuwZl3jZOuKMw19WnrykF8Rf04PVkuAvNX7lpzJpmS Wopf7eY0Wj12k8DIF8GygnpPEn63r6UqThUg85QXJ3+cUKInPDXAnYO/NAqALKxiiV1T XSAomkqlJTi1iyxio/FbNS0FjWnBqhoiOiwLpuxMcfAIHFTEPBwmnXc2NnrWWl61Va7t gUxY/qy+kTpr5nYCcX9OtjnU5kL9QqsiUEtzXXkEUhSW+Uubo/FcIvR25cAMQwfg8WeB sYkR1AOz0zTR+wJK/2e/GHI05kJPfiEPrhjO8znNtP7jm5ioOK2cmjnBPPhU/vI1EvEE yOUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bswvWu7U; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k15-20020a17090a39cf00b002a03ae4c1e7si9007313pjf.21.2024.04.01.01.50.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 01:50:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bswvWu7U; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126535-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126535-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C5C33B21569 for ; Mon, 1 Apr 2024 08:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35308DDB7; Mon, 1 Apr 2024 08:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bswvWu7U" 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 52CED4416; Mon, 1 Apr 2024 08:50:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711961419; cv=none; b=CfAAEomtWYydq2F5IbV1QRbwKDACRHDW9IO23ql8ETvWANskh2/u3qD3+iDvjZSyEnS7kYrWuNfpYqODU/5/Qw6RWo8fV/5Kf+O6mQwIT/MdnjJJp0O7LfkCz3omPngfxhPh0wQrIK7eEv9Vs8dexlGjubT/ienBtOsO2tpIy9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711961419; c=relaxed/simple; bh=9hgQj4u8ELvFghX7HeUW/UJDK0JKDzLGYG5tkIEE9Ds=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=B5kwBpo44m8Iqdi4eNbk8N8u1cGLg9WitPQMaH+XRPkUGyiHd4ZwzIf4YRPeyc5e93SEKmx9mRzzRd4zjMKM2HK9H/OWWm3pEuVQEq4bvci/8kLwpYJhidSV53+9Hf+7wVopUkI43fFsunogu9PSD09iAgT1mA706eJxQcMgfHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bswvWu7U; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CF06C43390; Mon, 1 Apr 2024 08:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711961418; bh=9hgQj4u8ELvFghX7HeUW/UJDK0JKDzLGYG5tkIEE9Ds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bswvWu7Us7jzRfjUdOlHMTISbpgV553r31hBaJeCdPVcx05ZW8bATLlGeWWOKmQ+h XUHPScHKY/1YqXn24JsSsb0mOf4cdgXrAI7gL+LJHQoBLGblnLSCFP09YYLal0daBv HiealdE1JUUCbG868oyMugfpoG0OyY229yu9TsQWgm4YoNIefn8ELhYB2Qs7mF7X1a ndgdBzJo1IqMd2oNv94Nr2u5nq5ZYHL10yGYR3FxT/Ie83JEBzAlBp5F6xFbgX00Bg o1vWRXSjLyKsZIOLVkYyNavgkjzHObtuYxbjN85e5+nD+qCPneEcv7cJVSlRx9oql4 I8yXy8G6h23BA== From: Christian Brauner To: Arnd Bergmann Cc: Christian Brauner , Arnd Bergmann , Nick Desaulniers , Bill Wendling , Justin Stitt , Andrew Morton , Philipp Stanner , Jeff Layton , Thorsten Blum , linux-nilfs@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Ryusuke Konishi , Nathan Chancellor Subject: Re: (subset) [PATCH 6/9] nilfs2: fix out-of-range warning Date: Mon, 1 Apr 2024 10:50:03 +0200 Message-ID: <20240401-dienlich-oboen-93121c59c71c@brauner> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240328143051.1069575-7-arnd@kernel.org> References: <20240328143051.1069575-1-arnd@kernel.org> <20240328143051.1069575-7-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1225; i=brauner@kernel.org; h=from:subject:message-id; bh=9hgQj4u8ELvFghX7HeUW/UJDK0JKDzLGYG5tkIEE9Ds=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaRxldouytW8UyWk83OVX6cd89vzd1izC+X+aQq0O21e4 9lWsEiro5SFQYyLQVZMkcWh3SRcbjlPxWajTA2YOaxMIEMYuDgFYCLOWYwMWzdpX3nxSM1+f8OZ m/LK/za8Z5M1WTR76aOKJy4r/jebzGRkeHXqXt8iTX+BexNTf1+bJsCuNVVx19S+TSqzdGf8yPP dxAEA X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit On Thu, 28 Mar 2024 15:30:44 +0100, Arnd Bergmann wrote: > clang-14 points out that v_size is always smaller than a 64KB > page size if that is configured by the CPU architecture: > > fs/nilfs2/ioctl.c:63:19: error: result of comparison of constant 65536 with expression of type '__u16' (aka 'unsigned short') is always false [-Werror,-Wtautological-constant-out-of-range-compare] > if (argv->v_size > PAGE_SIZE) > ~~~~~~~~~~~~ ^ ~~~~~~~~~ > > [...] Applied to the vfs.misc branch of the vfs/vfs.git tree. Patches in the vfs.misc branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.misc [6/9] nilfs2: fix out-of-range warning https://git.kernel.org/vfs/vfs/c/d20180d5dd10