From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2AA6DC3DA59 for ; Wed, 17 Jul 2024 01:33:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A7FB86B009D; Tue, 16 Jul 2024 21:33:00 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A2F986B009E; Tue, 16 Jul 2024 21:33:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 91E4A6B009F; Tue, 16 Jul 2024 21:33:00 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 74AFA6B009D for ; Tue, 16 Jul 2024 21:33:00 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 108F8C0834 for ; Wed, 17 Jul 2024 01:33:00 +0000 (UTC) X-FDA: 82347520920.20.6AB9AB8 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf26.hostedemail.com (Postfix) with ESMTP id 61644140003 for ; Wed, 17 Jul 2024 01:32:58 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=McuWuCZf; spf=pass (imf26.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721179948; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=lbiC7ElHTUU07pVj4+2Cm2TWEzz6PPqNvkzZMeqJzuQ=; b=Muw7O5cdneo4WOWEaeV2pBihk6GXaomhO7bmkMqA0nxNn0cioSmE9wDKHtNv6ESF7YxRKM mkCdDk/ZTd25J0mSQMOrzilvGmOZB0YoXloPkBVML/reUkmKb+KmrQXkNO2OR5P2dFv441 8DMz4x0vy9MxoAacRxx1QofEenpNadc= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=McuWuCZf; spf=pass (imf26.hostedemail.com: domain of nathan@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=nathan@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721179948; a=rsa-sha256; cv=none; b=KGpkNiE1GLiYCk9fVvAB5Rs/BxE/FmVfsAYnS029FAeLWa9et9si5mZEDpIkGuuctvkUD2 6lXg4hqIgla7cSdsyvXZmORLGl5PdFK/vUWEJEf7e2oTaBk6U90Vr6ckVSg4RSaS7StQ/2 vwwC2Pni3zVeyktJh/wWT488IkoXmUw= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 35C2961316; Wed, 17 Jul 2024 01:32:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D558C116B1; Wed, 17 Jul 2024 01:32:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1721179976; bh=UqPB/Yyj33NeItcheM6+8RGr2p3xNDvxWadC14t9mZE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=McuWuCZfnS5+7Xy6u/N+SeAocvLwrnAQDq4kn8sYyfLlq3jEmAmMKbeiY6xbNfAn8 srUh7LDV1ddD+gBKYnNydGwtKfX6dzm0qWdOr59ZwYTWxKq3IHI4KJG5bLVrvSIs3Z GFQ6OZETU6fZCZSpw3rF554VI4+QVcgmwxEYXXzFIwEZWpWeQp6LDpxg+pLmzJm9s6 d/BzZJXzVuQiVR1R/Kw0NiXcAIqiv5k5Zk34wjuoBE/TRob3wZPn+yUbrDPMNfwxuH c+v9wwDl7hMAfJprQrGW21cxIc/V+djImzW+jSBlFyBJyXm89TJ6O/qZPgCWAP5npN 55UAFERyHG8MA== Date: Tue, 16 Jul 2024 18:32:54 -0700 From: Nathan Chancellor To: kernel test robot Cc: Alexander Duyck , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Jakub Kicinski Subject: Re: [linux-next:master 12947/13217] drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1088:6: error: call to '__compiletime_assert_749' declared with 'error' attribute: FIELD_PREP: value too large for the field Message-ID: <20240717013254.GA683176@thelio-3990X> References: <202407170432.dYJQOWVz-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202407170432.dYJQOWVz-lkp@intel.com> X-Stat-Signature: u7ne5u43bn8rk7owrc7x6e3zwabjz4kf X-Rspam-User: X-Rspamd-Queue-Id: 61644140003 X-Rspamd-Server: rspam02 X-HE-Tag: 1721179978-354753 X-HE-Meta: U2FsdGVkX18jFhBKwv+9UJ87AGqZZ/IU9b6SNZdOLQ4w7JcEfjQdwn8ovzVIkI8xjNg49dJFR0Knmx06SmPHG65jByjwMiHsORgbAsFWUCbRjygpykti1xlqlVDaW8/zmpaIBApUom6t/CEGGZmXbiBl6GHbj6rj5sEXGMy0iODamiVGLETKP9C/0QaDFYs12KI87zAPDAQxNw+O5BJ/orVZ1oLpKENgG8GaYsQ5bZTbBsmj8LMOJB81cbXhxRxJKOaVbOrfSKKW5r15JYB37Ju9dJb4AkrUQOpnAZCt4CmwKYt5fDdNSvLUsXpwY2S65iLFq/TVqn2sZNAfu6TpY3bsPCRzuXhjINN2kMXwMVIYttcr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TX7ZlGc09ccimNpw0+gC5myOmV9vX0esukWL4YdDA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, Jul 17, 2024 at 04:11:02AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 4f40be61af99a67d5580c1448acd9b74c0376389 > commit: 0cb4c0a13723ef6dd06be8f913443897a0ffccb5 [12947/13217] eth: fbnic: Implement Rx queue alloc/start/stop/free > config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20240717/202407170432.dYJQOWVz-lkp@intel.com/config) > compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project a0c6b8aef853eedaa0980f07c0a502a5a8a9740e) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240717/202407170432.dYJQOWVz-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202407170432.dYJQOWVz-lkp@intel.com/ > > All errors (new ones prefixed by >>): ... > >> drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1088:6: error: call to '__compiletime_assert_749' declared with 'error' attribute: FIELD_PREP: value too large for the field > 1088 | FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_MIN_TROOM_MASK, FBNIC_RX_TROOM); > | ^ > include/linux/bitfield.h:115:3: note: expanded from macro 'FIELD_PREP' > 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ > | ^ > include/linux/bitfield.h:68:3: note: expanded from macro '__BF_FIELD_CHECK' > 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ > | ^ > include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' > 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) > | ^ > note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) > include/linux/compiler_types.h:498:2: note: expanded from macro '_compiletime_assert' > 498 | __compiletime_assert(condition, msg, prefix, suffix) > | ^ > include/linux/compiler_types.h:491:4: note: expanded from macro '__compiletime_assert' > 491 | prefix ## suffix(); \ > | ^ > :8:1: note: expanded from here > 8 | __compiletime_assert_749 > | ^ > 17 warnings and 1 error generated. FWIW, this does not appear to be clang specific, it reproduces with GCC as well: $ make -skj"$(nproc)" ARCH=s390 CROSS_COMPILE=s390-linux- allmodconfig drivers/net/ethernet/meta/fbnic/fbnic_txrx.o In file included from : In function 'fbnic_config_drop_mode_rcq', inlined from 'fbnic_enable' at drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1836:4: include/linux/compiler_types.h:510:45: error: call to '__compiletime_assert_944' declared with attribute error: FIELD_PREP: value too large for the field 510 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:491:25: note: in definition of macro '__compiletime_assert' 491 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:510:9: note: in expansion of macro '_compiletime_assert' 510 | _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/bitfield.h:68:17: note: in expansion of macro 'BUILD_BUG_ON_MSG' 68 | BUILD_BUG_ON_MSG(__builtin_constant_p(_val) ? \ | ^~~~~~~~~~~~~~~~ include/linux/bitfield.h:115:17: note: in expansion of macro '__BF_FIELD_CHECK' 115 | __BF_FIELD_CHECK(_mask, 0ULL, _val, "FIELD_PREP: "); \ | ^~~~~~~~~~~~~~~~ drivers/net/ethernet/meta/fbnic/fbnic_txrx.c:1773:13: note: in expansion of macro 'FIELD_PREP' 1773 | FIELD_PREP(FBNIC_QUEUE_RDE_CTL0_MIN_TROOM_MASK, FBNIC_RX_TROOM); | ^~~~~~~~~~ ... Cheers, Nathan