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 89E92C001DB for ; Tue, 15 Aug 2023 01:45:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id F362890000D; Mon, 14 Aug 2023 21:45:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EE5F490000B; Mon, 14 Aug 2023 21:45:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DAE2490000D; Mon, 14 Aug 2023 21:45:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id C677190000B for ; Mon, 14 Aug 2023 21:45:07 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 8C1E5C06EA for ; Tue, 15 Aug 2023 01:45:07 +0000 (UTC) X-FDA: 81124645854.27.0E39B4B Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by imf27.hostedemail.com (Postfix) with ESMTP id E626E40009 for ; Tue, 15 Aug 2023 01:45:04 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=i9UOhu+v; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1692063905; 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=HBbp+vERLdVqp1oAzyEG/eFQtFwAIIHjWvXf8zZIi+Q=; b=x2IV0MAH0jaDixMa8G9tyvPcvMPKD+/yk62Ke4kWt43qOWaBa6sFs2/gJ4NEP2c6VGJklc bo5fXY6M02r4z8IeGMtbZHm8hENe9S04Kavd4kyTHD2R9pYPaldxF2Djt9AP7vvp+JFk+P IgEDnzHQIfVBdughaEqL1AH2ktR55E0= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=i9UOhu+v; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf27.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692063905; a=rsa-sha256; cv=none; b=37LEMAO3RLlstgijSztniWMf+NFYnL6b45A4bJo5syX1kjURUNO1KUdT9nYtHpRymNM6pa +6W83Jtz6hFZZ+iBe+1rNa/ld8ZVGbpu33DjonhjkU+fU2j/kTrnZurCGBXhuvobEwUW7W 1O0eh/SbCcbw4jYGAfSN0CsgsoizVyE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692063905; x=1723599905; h=date:from:to:cc:subject:message-id:mime-version; bh=1b5J8Q/4QwpqpRlMWhes6eV9XuIPDdd6F++Ijha5o4E=; b=i9UOhu+v8tfBWTyQCCqhjJ+g900U6F+bX0z9b5HqAGkgW5YLl/xGiJEX bvE5YgrnrjqRDMo8gyDjhzMPxeSHNNXkW+zTghoRulRboKvcCkFQzmLoB ssC05a9/kaw18MpUp7Bdu4l+YyPla860IWAjslK5d02K5tBzKeCu0YJ95 1LnmqBdQqpgGTfjMjGr/LxybeD7K5VBnadmPOugTFeE8uHo+/r7L4EpRD vM0ZNK8wQTnFN3qaGroZryDp9xZuRBNyA4hqCZuod10PzyKJbpe3Ox+TP oEULUgP5sjbq7GrXswvia0yloruQNZB5x+hFeUqG9sYWgdPtSrOGY4FiX A==; X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="403158948" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="403158948" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2023 18:45:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10802"; a="907414523" X-IronPort-AV: E=Sophos;i="6.01,173,1684825200"; d="scan'208";a="907414523" Received: from lkp-server02.sh.intel.com (HELO b5fb8d9e1ffc) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 14 Aug 2023 18:45:01 -0700 Received: from kbuild by b5fb8d9e1ffc with local (Exim 4.96) (envelope-from ) id 1qVj7D-0000Zf-07; Tue, 15 Aug 2023 01:44:59 +0000 Date: Tue, 15 Aug 2023 09:44:02 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 8002/8441] include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_324' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (PFN_PTE_SHIFT > PAGE_SHIFT) Message-ID: <202308150902.iqtQSoIb-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspamd-Queue-Id: E626E40009 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: gwdbdm44aaqcf6f49gqr5jnofmxt8jzt X-HE-Tag: 1692063904-97707 X-HE-Meta: U2FsdGVkX182jGAowYbvUv5oxV2Ga8iLJR2TJdVGa8wJkWbmKkNz5ix1vxJhOYe6spe+sm+cpPNGCyJX8GJAjMUyzrZkOScNdDOIx9RwgtIKhJ0mbhFGTL48GK3E1Rf7PAWuwUhtfoE1eEXRvSHAX8KaMVphNY2B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1pvm3xaVdDP9YtQtW+xZYpLhS3oE8qXMJJwsna6qqezE5gv7eL9PQzQtAFJDk/3pyUKJ81j1P21NwLBmQ1/kcvv6o88rQNOpRBII+iuHOKKZf5h89wYFLoMhcrM7eYAVSLggVCgi 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 21ef7b1e17d039053edaeaf41142423810572741 commit: 8d670cfbf3be95bbf2cb7ecdd8f449aabde8c182 [8002/8441] mips: implement the new page table range API config: mips-randconfig-r002-20230815 (https://download.01.org/0day-ci/archive/20230815/202308150902.iqtQSoIb-lkp@intel.com/config) compiler: mipsel-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230815/202308150902.iqtQSoIb-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/202308150902.iqtQSoIb-lkp@intel.com/ All errors (new ones prefixed by >>): arch/mips/mm/init.c:60:6: warning: no previous prototype for 'setup_zero_pages' [-Wmissing-prototypes] 60 | void setup_zero_pages(void) | ^~~~~~~~~~~~~~~~ In file included from : arch/mips/mm/init.c: In function 'mem_init': >> include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_324' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (PFN_PTE_SHIFT > PAGE_SHIFT) 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) | ^~~~~~~~~~~~~~~~ arch/mips/mm/init.c:459:9: note: in expansion of macro 'BUILD_BUG_ON' 459 | BUILD_BUG_ON(IS_ENABLED(CONFIG_32BIT) && (PFN_PTE_SHIFT > PAGE_SHIFT)); | ^~~~~~~~~~~~ vim +/__compiletime_assert_324 +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/wiki