gfs2 filesystem and dlm development
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Eric Curtin" <ericcurtin17@gmail.com>
Cc: "Eric Curtin" <eric.curtin@docker.com>,
	"Alexander Aring" <aahringo@redhat.com>,
	"David Teigland" <teigland@redhat.com>,
	gfs2@lists.linux.dev
Subject: Re: [RFC PATCH v2 13/22] dlm: Use PAGE_SIZE_MIN in the lowcomms buffer size build check
Date: Thu, 03 Dec 2026 03:16:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-247060@kernel.org> (raw)
In-Reply-To: <20261202031533.1665444-14-ericcurtin17@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [High] dlm: undeclared PAGE_SIZE_MIN in dlm_lowcomms_new_msg() breaks
  build
--

commit 1ca2ae409ec528bfd8e633f3c7f74b52c140b99e
Author: Eric Curtin <eric.curtin@docker.com>

dlm: Use PAGE_SIZE_MIN in the lowcomms buffer size build check

This commit replaces PAGE_SIZE with PAGE_SIZE_MIN in the BUILD_BUG_ON()
check in dlm_lowcomms_new_msg().

> diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
> index 3929b164dc0d4..d991a47d8392f 100644
> --- a/fs/dlm/lowcomms.c
> +++ b/fs/dlm/lowcomms.c
> @@ -1266,7 +1266,7 @@ struct dlm_msg *dlm_lowcomms_new_msg(int nodeid, int len, char **ppc,
>  
>  	if (len > DLM_MAX_SOCKET_BUFSIZE ||
>  	    len < sizeof(struct dlm_header)) {
> -		BUILD_BUG_ON(PAGE_SIZE < DLM_MAX_SOCKET_BUFSIZE);
> +		BUILD_BUG_ON(PAGE_SIZE_MIN < DLM_MAX_SOCKET_BUFSIZE);

[Severity: High]
Does this break the build when CONFIG_DLM is enabled?  PAGE_SIZE_MIN is not
defined in include/vdso/page.h or anywhere else in the tree, causing a
compile failure with an undeclared identifier error.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261202031533.1665444-1-ericcurtin17@gmail.com?part=13

      reply	other threads:[~2026-12-03  3:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  3:15 [RFC PATCH v2 00/22] fs: Prepare for boot-time page size selection on arm64 Eric Curtin
2026-12-02  3:15 ` [RFC PATCH v2 13/22] dlm: Use PAGE_SIZE_MIN in the lowcomms buffer size build check Eric Curtin
2026-12-03  3:16   ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-247060@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=aahringo@redhat.com \
    --cc=eric.curtin@docker.com \
    --cc=ericcurtin17@gmail.com \
    --cc=gfs2@lists.linux.dev \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=teigland@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox