Linux NFS development
 help / color / mirror / Atom feed
From: daffyduck via Bugspray Bot <bugbot@kernel.org>
To: linux-nfs@vger.kernel.org, anna@kernel.org, cel@kernel.org,
	 jlayton@kernel.org, trondmy@kernel.org
Subject: kernel compile error in: fs/nfsd/nfs4state.c (linux-5.15.209.tar.xz)
Date: Thu, 03 Dec 2026 16:42:43 +0000	[thread overview]
Message-ID: <20261203-b221631c0-5636da63b9c8@bugzilla.kernel.org> (raw)

daffyduck added an attachment on Kernel.org Bugzilla:

Created attachment 310288
".config" file for Linux "make"

Note:  appears to be the same issue as in another kernel series, 2025:
     https://bugzilla.kernel.org/show_bug.cgi?id=220745

- "linux-5.15.209.tar.xz"  fails to compile (compile error)

- ".config" file attached; it is an Ubuntu config with debian keys removed:
    commented out orig: CONFIG_SYSTEM_TRUSTED_KEYS="debian/canonical-certs.pem"
    commented out orig: CONFIG_SYSTEM_REVOCATION_KEYS="debian/canonical-revoked-certs.pem"


How to reproduce:

###############  (make of linux-5.15.209.tar.xz)   x86_64

>gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0

>make  clean
>make  mrproper
### copy in the attached .config
>make

warning:
  CC [M]  drivers/hid/hid-picolcd_cir.o
drivers/vhost/scsi.c: In function ‘vhost_scsi_flush’:
drivers/vhost/scsi.c:1450:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 1450 | }
      | ^


In file included from <command-line>:
In function ‘nfsd4_get_drc_mem’,
    inlined from ‘check_forechannel_attrs’ at fs/nfsd/nfs4state.c:3542:16,
    inlined from ‘nfsd4_create_session’ at fs/nfsd/nfs4state.c:3615:11:
././include/linux/compiler_types.h:333:38: error: call to ‘__compiletime_assert_940’ declared with attribute error: clamp() low limit slotsize greater than high limit total_avail/scale_factor
  333 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                      ^
././include/linux/compiler_types.h:314:4: note: in definition of macro ‘__compiletime_assert’
  314 |    prefix ## suffix();    \
      |    ^~~~~~
././include/linux/compiler_types.h:333:2: note: in expansion of macro ‘_compiletime_assert’
  333 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |  ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/minmax.h:188:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  188 |  BUILD_BUG_ON_MSG(statically_true(ulo > uhi),    \
      |  ^~~~~~~~~~~~~~~~
./include/linux/minmax.h:195:2: note: in expansion of macro ‘__clamp_once’
  195 |  __clamp_once(type, val, lo, hi, __UNIQUE_ID(v_), __UNIQUE_ID(l_), __UNIQUE_ID(h_))
      |  ^~~~~~~~~~~~
./include/linux/minmax.h:218:36: note: in expansion of macro ‘__careful_clamp’
  218 | #define clamp_t(type, val, lo, hi) __careful_clamp(type, val, lo, hi)
      |                                    ^~~~~~~~~~~~~~~
fs/nfsd/nfs4state.c:1826:10: note: in expansion of macro ‘clamp_t’
 1826 |  avail = clamp_t(unsigned long, avail, slotsize,
      |          ^~~~~~~
make[2]: *** [scripts/Makefile.build:289: fs/nfsd/nfs4state.o] Error 1
make[1]: *** [scripts/Makefile.build:552: fs/nfsd] Error 2
make: *** [Makefile:1924: fs] Error 2

File: .config-removed-Debian-keys (text/plain)
Size: 254.13 KiB
Link: https://bugzilla.kernel.org/attachment.cgi?id=310288
---
".config" file for Linux "make"

You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 16:42 daffyduck via Bugspray Bot [this message]
2026-12-03 16:42 ` kernel compile error in: fs/nfsd/nfs4state.c (linux-5.15.209.tar.xz) daffyduck via Bugspray Bot
2026-12-03 16:42 ` daffyduck via Bugspray Bot
2026-12-03 16:42 ` daffyduck via Bugspray Bot
2026-12-03 16:42 ` Chuck Lever via Bugspray Bot
2026-12-03 16:42   ` daffyduck via Bugspray Bot

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=20261203-b221631c0-5636da63b9c8@bugzilla.kernel.org \
    --to=bugbot@kernel.org \
    --cc=anna@kernel.org \
    --cc=cel@kernel.org \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trondmy@kernel.org \
    /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