From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D01C606A32F for ; Thu, 3 Dec 2026 03:17:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=KOZclTLs; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JrdIEBea DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Reply-To:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Date: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Cc:To:Subject: From:Message-ID:MIME-Version:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=Fb23yG/Qdz5yyw9OtVaPna9k7h3ZRj0U3wa4bTZ59LY=; b=KOZclTLsaS+wObvwllwslBT4wY b0h1Q2N4Qh6i/pCm7YIXwmUjxVjDfsIXrEHPPmbKa+RVRnOq/imKUP7NCNlOiYEjRGviweLboZJxL u/I53wJiNEKpwQk9DU3eIDo3oSZ4ki5q/A9SCqUD4GyWghEaM5vHYGUm3QOQn0FNhnrZLYtXvaA+0 Mdn9LdlDJbxbJF2F02UvW21NV1AzBslC6KHPqMk7e5k120qXhYMbY+hvPp9Wmk5eas3J7Ho9no0MK SZFI4kdkQRXGgUi2TVxQwIm3m6F5OQnImfZe1zYfM0K0bBDaNqznH2JvD+TCNnczP+8v/7lZMKNfJ M0iSvpzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYxKO-0000000DLV6-0h5Y; Thu, 03 Dec 2026 03:17:48 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYxKL-0000000DLUU-1qRI for linux-nvme@lists.infradead.org; Thu, 03 Dec 2026 03:17:45 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id 8EED162225; Thu, 3 Dec 2026 03:17:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 349B51F00893; Thu, 3 Dec 2026 03:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796267864; bh=Fb23yG/Qdz5yyw9OtVaPna9k7h3ZRj0U3wa4bTZ59LY=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=JrdIEBeaB9gTINgDW4wVHabGBrQzLS0npLnupdGS+2/8taXrmmnQaG6iw90UeaM1h tw1egQNRLgWDICFhPRVgXN+zZKfY3Qva1/vesgIzCTOORKQJqoqlbuRRqIpgfxfi32 NvxrKubekE6z534DrrGgdGb0c1kBytbowZyW6q8hUhbMkEOPPD0C3oAMJa9PS4NtDL HiaX7QOPyeR26DqP+I+xFFpHVOnlr3/Tq6wGqWy2iUKPUDJhMtm5nFZwjprgCMXeC2 YBXdEws0oCi6EMbzyhA92HsI2yTPHa8uYe0w0afkMGyPtn6QW+FCBuDDtKUt8YTVLU hQL7PY/UhLYxQ== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [RFC PATCH v2 09/13] nvme: Check the DSM range buffer against PAGE_SIZE_MIN To: "Eric Curtin" Cc: linux-nvme@lists.infradead.org In-Reply-To: <20261202031647.1690622-10-ericcurtin17@gmail.com> References: <20261202031647.1690622-1-ericcurtin17@gmail.com> <20261202031647.1690622-10-ericcurtin17@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 03:17:43 +0000 X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "Linux-nvme" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [High] nvme: undeclared PAGE_SIZE_MIN in nvme_init_ctrl() causes build failure -- commit 9c7e9e9075d6fda20403c65db3c4db9a9e5c437e Author: Ryan Roberts nvme: Check the DSM range buffer against PAGE_SIZE_MIN This commit updates the BUILD_BUG_ON() check in nvme_init_ctrl() to compare the DSM range buffer size against PAGE_SIZE_MIN instead of PAGE_SIZE. > diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c > index f43582e5f6c4a..8cf78eff9cff3 100644 > --- a/drivers/nvme/host/core.c > +++ b/drivers/nvme/host/core.c > @@ -5295,7 +5295,7 @@ int nvme_init_ctrl(struct nvme_ctrl *ctrl, struct d= evice *dev, > ctrl->io_timeout =3D NVME_IO_TIMEOUT; > =20 > BUILD_BUG_ON(NVME_DSM_MAX_RANGES * sizeof(struct nvme_dsm_range) > > - PAGE_SIZE); > + PAGE_SIZE_MIN); [Severity: High] Is a prerequisite patch defining PAGE_SIZE_MIN missing from this series? PAGE_SIZE_MIN is not defined in include/vdso/page.h or anywhere else in the kernel tree, so compiling drivers/nvme/host/core.c fails with an undeclared identifier error. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261202031647.1690= 622-1-ericcurtin17@gmail.com?part=3D9