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 70844C433EF for ; Tue, 3 May 2022 15:29:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id EF76A6B0093; Tue, 3 May 2022 11:29:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id EA7896B0095; Tue, 3 May 2022 11:29:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D6E4A6B0096; Tue, 3 May 2022 11:29:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id C32F26B0093 for ; Tue, 3 May 2022 11:29:03 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 59FB280181 for ; Tue, 3 May 2022 15:28:57 +0000 (UTC) X-FDA: 79424814714.24.F06F175 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf18.hostedemail.com (Postfix) with ESMTP id 531CA1C007C for ; Tue, 3 May 2022 15:28:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651591736; x=1683127736; h=date:from:to:cc:subject:message-id:mime-version; bh=WLErUgj3suylQfUo3T5nNLsxIcEj7CcreZn7JI84qM0=; b=G1/dmFDMOX835MWNXrl/bttbijbKJTxr7CXH+HZcltn0FBRzOJVXKu42 1fatDOmjzSaqJAlZe5FVgumPliVCGo9KpX0i7fcEeGrwq9Qv8w5jeI9df 8SMwvTu66jdZPbTqB461fevplm+5LLKra+YDfErlLLqvzcTiDFi5Kl19X dI9CQ2BaP86FNbj2mIMWGL2tnkWhaB9S7jYvtwysSr5hBxC6X3FpOChyR fTlPjgmF7UCG+X1fzf3co9lwzMW4Ara5mhYioG4dsWeYSi6VzBvQV9qKQ atrnuX9MOSe9p/AwYqe2HaUGjVmilBXELKksMi0PUq4CA6GGeYDMcbhEA w==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="248049431" X-IronPort-AV: E=Sophos;i="5.91,195,1647327600"; d="scan'208";a="248049431" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2022 08:28:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,195,1647327600"; d="scan'208";a="653305474" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 03 May 2022 08:28:53 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1nluSL-000AZd-Bg; Tue, 03 May 2022 15:28:53 +0000 Date: Tue, 3 May 2022 23:27:55 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 7454/8237] include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_205' declared with attribute error: BUILD_BUG failed Message-ID: <202205032334.svVDsO9b-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: i6hn5fs64rmk9gd6mzung1rt5c51u1bu X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 531CA1C007C Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="G1/dmFDM"; spf=none (imf18.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.151) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1651591729-665708 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: 44a2f39e611ac0bc1f17c288a583d7f2e5684aa7 commit: 22bf1b68e57236cd524a760781edd67ed081096b [7454/8237] vmscan: remove remaining uses of page in shrink_page_list config: s390-randconfig-r044-20220501 (https://download.01.org/0day-ci/archive/20220503/202205032334.svVDsO9b-lkp@intel.com/config) compiler: s390-linux-gcc (GCC) 11.3.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/next/linux-next.git/commit/?id=22bf1b68e57236cd524a760781edd67ed081096b git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 22bf1b68e57236cd524a760781edd67ed081096b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from : In function 'can_split_folio', inlined from 'shrink_page_list' at mm/vmscan.c:1719:11: >> include/linux/compiler_types.h:352:45: error: call to '__compiletime_assert_205' declared with attribute error: BUILD_BUG failed 352 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^ include/linux/compiler_types.h:333:25: note: in definition of macro '__compiletime_assert' 333 | prefix ## suffix(); \ | ^~~~~~ include/linux/compiler_types.h:352:9: note: in expansion of macro '_compiletime_assert' 352 | _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:59:21: note: in expansion of macro 'BUILD_BUG_ON_MSG' 59 | #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") | ^~~~~~~~~~~~~~~~ include/linux/huge_mm.h:351:9: note: in expansion of macro 'BUILD_BUG' 351 | BUILD_BUG(); | ^~~~~~~~~ vim +/__compiletime_assert_205 +352 include/linux/compiler_types.h eb5c2d4b45e3d2 Will Deacon 2020-07-21 338 eb5c2d4b45e3d2 Will Deacon 2020-07-21 339 #define _compiletime_assert(condition, msg, prefix, suffix) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 340 __compiletime_assert(condition, msg, prefix, suffix) eb5c2d4b45e3d2 Will Deacon 2020-07-21 341 eb5c2d4b45e3d2 Will Deacon 2020-07-21 342 /** eb5c2d4b45e3d2 Will Deacon 2020-07-21 343 * compiletime_assert - break build and emit msg if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 344 * @condition: a compile-time constant condition to check eb5c2d4b45e3d2 Will Deacon 2020-07-21 345 * @msg: a message to emit if condition is false eb5c2d4b45e3d2 Will Deacon 2020-07-21 346 * eb5c2d4b45e3d2 Will Deacon 2020-07-21 347 * In tradition of POSIX assert, this macro will break the build if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 348 * supplied condition is *false*, emitting the supplied error message if the eb5c2d4b45e3d2 Will Deacon 2020-07-21 349 * compiler has support to do so. eb5c2d4b45e3d2 Will Deacon 2020-07-21 350 */ eb5c2d4b45e3d2 Will Deacon 2020-07-21 351 #define compiletime_assert(condition, msg) \ eb5c2d4b45e3d2 Will Deacon 2020-07-21 @352 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) eb5c2d4b45e3d2 Will Deacon 2020-07-21 353 :::::: The code at line 352 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://01.org/lkp