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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0A53DCDB474 for ; Sat, 14 Oct 2023 12:37:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=oTFiI2CnPkTGzKrPhVhAYWFpeAbPWJ3nmKrJKOFFSwU=; b=FoZhTmTY66SNgE pmCJqNYnJnyhyI3GyBT/X2flEDT/J0EV5cSgVAIzOSMFJGEdl8JfjCH12enQmUKa65WDCMsTcjPJP ljBH7xrE5YnQA3BRkaNWqzSshBJohUf/EAlnSNrl89ZL/V8/im7gTm4f9/Z+YfMg08TpNkERWtUaX 4OPMtjdt+khkzNoiS3lOk5aARYF8WgP4TW3XQInpalag+KfMamrNkM06MUJ/QlggwiLPJRF4eQ1c5 XAn4S12tZPLg0v3P0Ijslk1agJUR/s4+lYObDGTqEMvqzPX+/OF8ALeocHhxClwZIEn1iUZMHMme1 TpFabvRfyem+toO6wYAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qrdsn-005LoX-12; Sat, 14 Oct 2023 12:36:41 +0000 Received: from mgamail.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qrdsk-005Ln5-1D for linux-arm-kernel@lists.infradead.org; Sat, 14 Oct 2023 12:36:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697286998; x=1728822998; h=date:from:to:cc:subject:message-id:mime-version; bh=7WSwSEElDUVQkyf6UxWH8PCNNzrjNI2AyuV+V10wxKQ=; b=B/kDFp1s4Rn1LogK5XXrNsXgOD6xthOtSUMHyQybeIZF1+EVXeW/dIND Zsx3BOSEanuvHKTLHtLt7rMTbqJGSdJp+gbLcfTfJtU2atgZbaal9gTOD jnWhsJWpwsYpEIkmXkJ+MqXXNRAQY/hDFeJ67HO6sPwC8deB5/QpaSIkt 5fC2Ph2eeI3FTBPewE27CbhAtrBEDjhxvS2oaFKaPElhcQ1h4vEg1Msj6 A7lLrVpsj2d3YDk76ARlAazCwyJnw/5AeQYQlj34sqGfXjSF8Gq2k1XBM OV2e+15yoaFAyEg062iwPLJW/28hnHVGQGSLl0FSlVDZaEh3BdQYg6VOP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="382552502" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="382552502" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2023 05:36:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10862"; a="748664973" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="748664973" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 14 Oct 2023 05:36:26 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qrdsW-0006AF-0j; Sat, 14 Oct 2023 12:36:24 +0000 Date: Sat, 14 Oct 2023 20:35:49 +0800 From: kernel test robot To: "Russell King (Oracle)" Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org Subject: [arm:ktext 3/20] include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_416' declared with attribute error: BUILD_BUG_ON failed: VMALLOC_START != MODULES_END Message-ID: <202310142011.ILK2zoy5-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231014_053638_465706_4D8F7E50 X-CRM114-Status: GOOD ( 12.31 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org tree: git://git.armlinux.org.uk/~rmk/linux-arm.git ktext head: 7fa946ce05c273d5ff092c814efe64978e5faf45 commit: e4881183f9059ed8aaa3f16857fd9e0c1db5c168 [3/20] arm64: place kernel in its own L0 page table entry config: arm64-randconfig-001-20231014 (https://download.01.org/0day-ci/archive/20231014/202310142011.ILK2zoy5-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231014/202310142011.ILK2zoy5-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/202310142011.ILK2zoy5-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from : arch/arm64/mm/kasan_init.c: In function 'kasan_init_shadow': >> include/linux/compiler_types.h:397:45: error: call to '__compiletime_assert_416' declared with attribute error: BUILD_BUG_ON failed: VMALLOC_START != MODULES_END 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/arm64/mm/kasan_init.c:248:9: note: in expansion of macro 'BUILD_BUG_ON' 248 | BUILD_BUG_ON(VMALLOC_START != MODULES_END); | ^~~~~~~~~~~~ vim +/__compiletime_assert_416 +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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel