From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796316168; b=kiOaf4IoNqzWWzfOQzQyw0KBdcUpNf8rtvAQvRaBuDnfFCzGSn0rEvx/FI5JEf+07JNU 88z9RoLZywClmZSnT/KHD6tGj51DdlneBYaqmrYzPva977FjfhJiE8TuK2KvHoTwO6gv1 8oEDS/oYlQBHeM5ugiApKUvXqHeFJMtP4wiokX4YwmI/hF62y0QvG30j1FNj44kze+RqN pbjL/WTjhRS5YjxsGP6z/5UoELD21U/OqgkRu//rBa3mHxn759JhkliK1tIykzrzaSA1g HSUUcekgrDdiEdbnzjHwEaWZQ7iMdu0YzekVRyx+O7BRAtIUa+cBJFR4uNxHZhTW3DA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796316168; h=Received:DKIM-Signature:Received:From:Date:MIME-Version:Content-Type: Content-Transfer-Encoding:To:Message-ID:Subject:X-Bugzilla-Product: X-Bugzilla-Component:X-Mailer; bh=XBNaAJvSUuzK7hLEUAAI8j9v/zhMdgSR5qPJtDqjdj8=; b=LbCUykfNMWIV21eptTgrOu9eN4oDD5PNTXy3jdTSxeU23fYEdn49O83L+oYjIZyJ5iRK diViSMh5VCD39dxVYzN1KF3+x9citMNeAunYPRVk4LcDfzPwpp3byF74pqwv+HmnevPeP Z52iGCM+k0PIG7MSJ+H7d8JJ+ua7kwZxt7OqhIYoe+X1ogb/yDtGln2Wtjce//v2ZzJ3I vJQdQbZthuCNDF6Tm0RxZamqicimd8wOjchCqXNgurEBN1Y8bbu5NzQpFE+ikA9rY0r3Q PxQwYt/6xoj2pKveDb6cvhFQ+vLZLY/QBZYq3KMZsw1oVNbMAj4TlVWYLYBr+DeF7+A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ErrvHRhI; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15B64606A32C for ; Thu, 3 Dec 2026 16:42:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ErrvHRhI Received: by smtp.kernel.org (Postfix) with ESMTPSA id A06EC1F00898; Thu, 3 Dec 2026 16:42:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796316167; bh=XBNaAJvSUuzK7hLEUAAI8j9v/zhMdgSR5qPJtDqjdj8=; h=From:Date:To:Subject; b=ErrvHRhIu8OJaYyoUO/l5vdP6onkpB10gYEeXYzhOajyxA8uaJOVRfBYhyKgyLLHJ Vl6Zev91A9w3o66UM0rI5inRg7wmVIMbWzayRCiyPN2jESQsxY9+AkSU6qe8nQO7ii QI759GdwsK3A6GWO2YusMfuB7TTUka/n2ga+YJVOG4aoQAujMHp6hP1qjh5wSagRPQ gicrX8/zZdZaueX4rzrMnSElcJKEoPnd7kUN7W9UkDAnLgpQjHolFhB9EjFPdHZW/I M/DoUsXs1uiGu7dW/CvJcH3vJiE+pMGK+EHp4w5PS+rGMoZeUfptaJEnpsU/p0soZw aDtP0WIv1hb3A== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 96BE43805D97; Thu, 3 Dec 2026 16:42:47 +0000 (UTC) From: daffyduck via Bugspray Bot Date: Thu, 03 Dec 2026 16:42:43 +0000 X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-nfs@vger.kernel.org, anna@kernel.org, cel@kernel.org, jlayton@kernel.org, trondmy@kernel.org Message-ID: <20261203-b221631c0-5636da63b9c8@bugzilla.kernel.org> Subject: kernel compile error in: fs/nfsd/nfs4state.c (linux-5.15.209.tar.xz) X-Bugzilla-Product: File System X-Bugzilla-Component: NFSD X-Mailer: bugspray 0.1-dev 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 : 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)