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 65022C76195 for ; Thu, 23 Mar 2023 12:55:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E50396B0072; Thu, 23 Mar 2023 08:55:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E00A46B0074; Thu, 23 Mar 2023 08:55:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CA2716B0075; Thu, 23 Mar 2023 08:55:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id BB4826B0072 for ; Thu, 23 Mar 2023 08:55:51 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 8A2751C5CD2 for ; Thu, 23 Mar 2023 12:55:51 +0000 (UTC) X-FDA: 80600160102.26.659693F Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf26.hostedemail.com (Postfix) with ESMTP id 7B1CA14000C for ; Thu, 23 Mar 2023 12:55:48 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=IWpGIJc5; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1679576148; 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: references:dkim-signature; bh=kdndyI907MzuJ1ljSjI+GxhzKSUMfoiCKydIUatsGx4=; b=rJ7OG1IJeoAINj5IEzHya3T/dxFfMhnWH/TufhOxcK4Q5WxAwFuaroh6z6benI8f6CgZFU NY8JIxJvJTJUhR7JfQOpkJFoeHbfkB0lt93OK/8/qn6zc5bnTvH9PsCfpeWIDiWSWl4RUZ bRjSfLw/u/U+MDTVi0Me8n/Z2NpNvLk= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=IWpGIJc5; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 192.55.52.151 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1679576148; a=rsa-sha256; cv=none; b=lECqnk5cKVe0eNG4CptezKqv3A9FHMSzHvLo9ijhQXc/lRxe7J/k98RBp6hEcRTE/BiP5U mUaa7bFBbOHdsXKZkKosl54KVpLyl4RdGMy6C0PREnmXe7x7klSF2O627waVd7dVLitkib x7DXOTgHgOO2koBlanaV6EjC/nxzeEU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679576148; x=1711112148; h=date:from:to:cc:subject:message-id:mime-version; bh=UE9yjldZqoqQDqthq+SS9+9fVRIwbzh9K4tyRiZ3ses=; b=IWpGIJc5aM181j/pZ7oEXCm1aagOkWW4ZsLGQ6uYMDUAC5hCBfqHLogm wthuKHXdTOI0GJE9U/Iwyyx2sZpVGIKCLp75avYjF7269bPVYDZ42cadM Zxre0oSsuRLwIMRZmQaRcLPbs08u3O2hVvUqY6Y2QcJu8VOvS22DcQPfI Prav8ug8KFdgKFz7NCIiXckEr219aIxlpOd9HcNE1Hxn3W+eMae2P7QwN wcCckp+ds2qqt7dGI4T91aHNpJvE+HVbrP5S6AvKl0hNcKS9cvL9XWm1J Jlkt1s6ypUtm6Ff4j5Id5bwmwNphtES2q2ey6xViM1B1yOPM8KiQspRu2 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="319865655" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="319865655" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 05:55:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="771445014" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="771445014" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 23 Mar 2023 05:55:27 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pfKTW-000EN6-1H; Thu, 23 Mar 2023 12:55:26 +0000 Date: Thu, 23 Mar 2023 20:54:27 +0800 From: kernel test robot To: "Mike Rapoport (IBM)" Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List , David Hildenbrand Subject: [akpm-mm:mm-unstable 225/293] include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_357' declared with attribute error: BUILD_BUG_ON failed: ((14 + (14 - 3))-14) > -1 Message-ID: <202303232056.LpwXNsoL-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: m1iinyhpqragn5ht7cmbkc6kddnhhfuq X-Rspamd-Queue-Id: 7B1CA14000C X-HE-Tag: 1679576148-785120 X-HE-Meta: U2FsdGVkX1/LnbxJ6WSBAqQLrdwnq9z1z09ZHs/gXc/feV84O6JZFg79d7hfxzdYxta1GQ82YLhj7i0Iue0QWUbiTS+VF4FkXguTj1JNpLcnqc9CMP/hh3oFAe0ql6Ff0mO45eBtusxTJS/YXEEiX2syNdn0gnMAXz8pyGuQKnBCXV2JpD1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NNScqhvyCloFPQ/lKU8cH3x3gRsbBFBvxbYgopHT9gtdgkRaYdUCzVjCA03RoIDXy0AOtgcUSWN+IAtqreJT08BKDl2bvYb3jXaVtaFU4y/Pvd7QH13GO8SuZMK5/UJx6+YtrePR0IbX9/d7bJoqk9ZBUVgjnHxfvkAsL76oLZudYiA== 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: Hi Mike, FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: 51551d71edbc998fd8c8afa7312db3d270f5998e commit: 03d7e648fa25961bb92e920e7962710aa72fb409 [225/293] loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDER config: loongarch-defconfig (https://download.01.org/0day-ci/archive/20230323/202303232056.LpwXNsoL-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=03d7e648fa25961bb92e920e7962710aa72fb409 git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-unstable git checkout 03d7e648fa25961bb92e920e7962710aa72fb409 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=loongarch SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202303232056.LpwXNsoL-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : mm/huge_memory.c: In function 'hugepage_init': >> include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_357' declared with attribute error: BUILD_BUG_ON failed: ((14 + (14 - 3))-14) > -1 397 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:378:25: note: in definition of macro '__compiletime_assert' 378 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:397:9: note: in expansion of macro '_compiletime_assert' 397 | _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/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG' 50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition) | ^~~~~~~~~~~~~~~~ include/linux/bug.h:24:25: note: in expansion of macro 'BUILD_BUG_ON' 24 | BUILD_BUG_ON(cond); \ | ^~~~~~~~~~~~ mm/huge_memory.c:470:9: note: in expansion of macro 'MAYBE_BUILD_BUG_ON' 470 | MAYBE_BUILD_BUG_ON(HPAGE_PMD_ORDER > MAX_ORDER); | ^~~~~~~~~~~~~~~~~~ vim +/__compiletime_assert_357 +397 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 383 eb5c2d4b45e3d2 Will Deacon 2020-07-21 384 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 385 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 386 eb5c2d4b45e3d2 Will Deacon 2020-07-21 387 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 388 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 389 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 390 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 391 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 392 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 393 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 394 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 395 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 396 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @397 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 398 :::::: The code at line 397 was first introduced by commit :::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h :::::: TO: Will Deacon :::::: CC: Will Deacon -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests