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 14E3EC001DB for ; Sat, 5 Aug 2023 17:36:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 44A018D0002; Sat, 5 Aug 2023 13:36:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3FA688D0001; Sat, 5 Aug 2023 13:36:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2C2488D0002; Sat, 5 Aug 2023 13:36:51 -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 16D488D0001 for ; Sat, 5 Aug 2023 13:36:51 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id CD739120239 for ; Sat, 5 Aug 2023 17:36:50 +0000 (UTC) X-FDA: 81090756180.22.8A3FF6E Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by imf26.hostedemail.com (Postfix) with ESMTP id 3492014000F for ; Sat, 5 Aug 2023 17:36:47 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Dr3+8IcW; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 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=1691257009; 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=HGWbp46bUTo4bwGZvkQCGJaSUGGZFTgwF1h7aXXk74E=; b=iOR6cQO3O15cmNehlyyTQXNIWo4zTrqD9IGnvnQOhnGpE2HhS/u+YeOtdeurQCduMff7H2 vAnMsIY5wJRoRyJRiOe8aM1JrdDeVC/HUycUSRK0kZqUsq5AMXfEq/sMxoD3Plh+dCrNBi YCMoB3F8vsb3od3LyIVClPue749SiA8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691257009; a=rsa-sha256; cv=none; b=wwzLxna9hB09opP5WZqRwc8YVjMoTf0RjdS7DfTmb8ixV2P41043Gp6MbisG7oEDSxUUO6 wz55hxvmdmNkjTinWxWewdc7w/UmhlCTXC7vJyPdjJ3gzXbUmrJ59FenCvdIX7aY6LbakS SToNtAvKXbEj9UtFbb+hL7gzg9UUpNQ= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Dr3+8IcW; spf=pass (imf26.hostedemail.com: domain of lkp@intel.com designates 192.55.52.93 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691257008; x=1722793008; h=date:from:to:cc:subject:message-id:mime-version; bh=3h6nILr9UL+BLePXOp7NPhaaw8e7hHJ2derl0zm20tw=; b=Dr3+8IcWem/XsXNb0qEdPPC0q6bHjUqm75yWi76GRvyyt6Pd9CuwUlt5 Vvu9n7IA3rQGzxHMnvkOcoaQ/CX8TqXmiEDOZLADW6N7Ntl+IES++WiQi c9W8ni7pPjEt1zJJNqNpa2yfq8NJ1tJpxLYC3iXLa5B8ShYILTmU715oi XIEkyhTskV8+IhQcTSxoLr1U779HEugA4vStPwyjxsR0c0Hwzh//iffjB ylKRaAgDkxrMNuRRpYtrdfmCPiFpK0srjbRMVfMgjq342XWOXemLsNjzc 8DYDOIYYPMSsUfq0ZzYbmAkFpNr4Vk80DAsJn3875Pl6MeszqewnEB/ZN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10793"; a="367786073" X-IronPort-AV: E=Sophos;i="6.01,258,1684825200"; d="scan'208";a="367786073" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Aug 2023 10:36:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10793"; a="707351759" X-IronPort-AV: E=Sophos;i="6.01,258,1684825200"; d="scan'208";a="707351759" Received: from lkp-server01.sh.intel.com (HELO d1ccc7e87e8f) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 05 Aug 2023 10:36:44 -0700 Received: from kbuild by d1ccc7e87e8f with local (Exim 4.96) (envelope-from ) id 1qSLCm-0003np-0s; Sat, 05 Aug 2023 17:36:44 +0000 Date: Sun, 6 Aug 2023 01:36:41 +0800 From: kernel test robot To: "Matthew Wilcox (Oracle)" Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List Subject: [akpm-mm:mm-unstable 392/474] include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_294' declared with attribute error: BUILD_BUG_ON failed: IS_ENABLED(CONFIG_32BIT) && (PFN_PTE_SHIFT > PAGE_SHIFT) Message-ID: <202308060105.IP2Npoqr-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: uitr43f8tuccmdxmu4odm8ikq665t9pe X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: 3492014000F X-Rspam-User: X-HE-Tag: 1691257007-33129 X-HE-Meta: U2FsdGVkX19Ygb9LPhNOHSr4E+2zn45BW9SkSa7HUnt+jl1iiDecPnFadwEnhUuh1Y8iEPDZVY7R2Z3p0AuFfivu8nTk3TDVfdTtlBj4/prZh943HBEhKaYXZaukxomuCbz7khvPFGaiXDM8o02Amp1yQ65z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qC+iEhSQwFrJ/MZTWDErvIVV7+zdzuugDWNK7WRoi1RjlplFKkE/P5B7lBNb4wgay0ZX3VWTttbwKoJSssR63Y9VTKb93NhuWBqPUsRPjKCMRoZ1ZbdDyaw36V9b/TEjxdiPt4VL8DQ4ahcMgfpLdcQo 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/akpm/mm.git mm-unstable head: 84d9f657acaecc43dc52f25d52230db85fd5ffdd commit: 7b4ad9400126434e6997c0249ee61dd648c04d42 [392/474] mips: implement the new page table range API config: mips-randconfig-r002-20230806 (https://download.01.org/0day-ci/archive/20230806/202308060105.IP2Npoqr-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230806/202308060105.IP2Npoqr-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/202308060105.IP2Npoqr-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_294' 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_294 +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