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 A86FDC3DA6F for ; Fri, 25 Aug 2023 11:44:49 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 23A8D280056; Fri, 25 Aug 2023 07:44:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1C4D5280038; Fri, 25 Aug 2023 07:44:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 064C0280056; Fri, 25 Aug 2023 07:44:48 -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 E75E6280038 for ; Fri, 25 Aug 2023 07:44:48 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id A8F63120463 for ; Fri, 25 Aug 2023 11:44:48 +0000 (UTC) X-FDA: 81162445056.12.C7C0EA4 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by imf15.hostedemail.com (Postfix) with ESMTP id 5EF39A0007 for ; Fri, 25 Aug 2023 11:44:45 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DPBDSmtj; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 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=1692963886; 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=fcc/KVQF1UMJw+Kgi8I2X5XQ8B+3eqcrKB9qQc7thpc=; b=woUe4IFUOF8KTKTjFWeVjZKhVajahOSgWyblYKZwVvbIEcx6MOnPa1lq2qIdGZVhSu+gYj gr6rz6PMM9vMOwrHwd/eNFMCWIVBOoxNPCmUqb4Cs3dtiY4ZVpw6uMqLct7ZZq2fMDxafS 2H+FSr+tRN9KuCDfOzQyyrcyDKyFEWM= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=DPBDSmtj; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf15.hostedemail.com: domain of lkp@intel.com designates 134.134.136.65 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1692963886; a=rsa-sha256; cv=none; b=zFp0863GJbCery4pTHJ05W7ei+8A/9GT63dB2TG4Hz9L6bN/a9zXnnOGdmzSMOPc+AZ2vc 5sNp3vZwwRHEv72izWCmzdzlHIm1g6MO8RsxC8k3+3hVJeMcDSbcazYi5J44fKQ2OjeCDj K91Aozm0xBgurIScpwx5XiAvXaSWcSw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692963885; x=1724499885; h=date:from:to:cc:subject:message-id:mime-version; bh=Yl/J8paohe1TXQLey/dMgesvHrOeLB0GQhKy4ku/He0=; b=DPBDSmtjEcZ1tFHslJkOPVzGuE0tnDEmKRyaTKHoEPs6u4Qa4gzaEs1V ILpR6Q9dg06TbkupOkQEnoB4kbmWTY04WjJ0y/c3IU8DJlW8Q9bTbNPZf ZSkhqibj6Xqhut+KyFaxEAmbUHVS7bExUdLi+5iNvKSZxuzUZp9vdmQF4 AtWbohMsSDLSEAd0u56KW008i6jX0wCU4vh/B3T71+OgX0TjSZPCuHqEH f63+cVX89/ScrVbemT3xf48UFu/atjnz/wCjhC5KpXvEkieIFloSTZm93 vyn9DtV6JBgbUkZw06w2BKJcntL1sEABpRDwiuxT8Gi/85v40gWjg/bq6 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="378478430" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="378478430" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 04:44:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="714326068" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="714326068" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 25 Aug 2023 04:44:41 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qZVF2-0003X4-24; Fri, 25 Aug 2023 11:44:40 +0000 Date: Fri, 25 Aug 2023 19:44:32 +0800 From: kernel test robot To: Danny Tsen Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Herbert Xu Subject: [linux-next:master 1647/12910] arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed Message-ID: <202308251906.SYawej6g-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 5EF39A0007 X-Stat-Signature: d9b6k61h78k1dn4fkxj5ndq9qhrckyow X-HE-Tag: 1692963885-227939 X-HE-Meta: U2FsdGVkX1+BEWCGg0AIWz+Mpke0ONJcsUa1G7Rwd5LKqiVH9pIh5Uv7dClKeGL/bdq4J0LXDYlZGUj67JkTUKzJbT3TE2k6darqm6hMSFYFr//1YsfGwcjmGoz+Mhr69BG96Q0ywdRLuK4YeSdB+VcPLwMHxSyh47l6ZsWuGcmfch6CKgNY6Fo0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2uN29et07SH7Vs4IEeAaPIl7Fi1vyjZR2YMGJNKDogomBiRUMYhyEG5/XA15e/MEFZVw4pvrGXCZDWuCucO3ZiLGDZKvWXg37KdbHpF1CSC7WxSyChqyBVetJoAujMMJSr72qVsacxgLiEw8gisIixiHVMlJg811Z 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: 6269320850097903b30be8f07a5c61d9f7592393 commit: 161fca7e3e905d5e99dbd79ed55d9212e6d80eb0 [1647/12910] crypto: powerpc - Add chacha20/poly1305-p10 to Kconfig and Makefile config: powerpc64-randconfig-r024-20230824 (https://download.01.org/0day-ci/archive/20230825/202308251906.SYawej6g-lkp@intel.com/config) compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a) reproduce: (https://download.01.org/0day-ci/archive/20230825/202308251906.SYawej6g-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/202308251906.SYawej6g-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/powerpc/crypto/poly1305-p10-glue.c:19: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed BUILD_BUG(); ^ include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :215:1: note: expanded from here __compiletime_assert_261 ^ In file included from arch/powerpc/crypto/poly1305-p10-glue.c:19: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :215:1: note: expanded from here __compiletime_assert_261 ^ In file included from arch/powerpc/crypto/poly1305-p10-glue.c:19: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :215:1: note: expanded from here __compiletime_assert_261 ^ In file included from arch/powerpc/crypto/poly1305-p10-glue.c:19: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :215:1: note: expanded from here __compiletime_assert_261 ^ 4 errors generated. -- In file included from arch/powerpc/crypto/chacha-p10-glue.c:18: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed BUILD_BUG(); ^ include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :137:1: note: expanded from here __compiletime_assert_261 ^ In file included from arch/powerpc/crypto/chacha-p10-glue.c:18: >> arch/powerpc/include/asm/switch_to.h:86:2: error: call to __compiletime_assert_261 declared with 'error' attribute: BUILD_BUG failed include/linux/build_bug.h:59:21: note: expanded from macro 'BUILD_BUG' #define BUILD_BUG() BUILD_BUG_ON_MSG(1, "BUILD_BUG failed") ^ include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG' #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) ^ include/linux/compiler_types.h:397:2: note: expanded from macro 'compiletime_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) ^ include/linux/compiler_types.h:385:2: note: expanded from macro '_compiletime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:378:4: note: expanded from macro '__compiletime_assert' prefix ## suffix(); \ ^ :137:1: note: expanded from here __compiletime_assert_261 ^ 2 errors generated. vim +/error +86 arch/powerpc/include/asm/switch_to.h ae3a197e3d0bfe3 David Howells 2012-03-28 75 ae3a197e3d0bfe3 David Howells 2012-03-28 76 #ifdef CONFIG_VSX d1e1cf2e38def30 Anton Blanchard 2015-10-29 77 extern void enable_kernel_vsx(void); ae3a197e3d0bfe3 David Howells 2012-03-28 78 extern void flush_vsx_to_thread(struct task_struct *); 3eb5d5888dc68c9 Anton Blanchard 2015-10-29 79 static inline void disable_kernel_vsx(void) 3eb5d5888dc68c9 Anton Blanchard 2015-10-29 80 { 3eb5d5888dc68c9 Anton Blanchard 2015-10-29 81 msr_check_and_clear(MSR_FP|MSR_VEC|MSR_VSX); 3eb5d5888dc68c9 Anton Blanchard 2015-10-29 82 } bd73758803c2eed Christophe Leroy 2021-03-09 83 #else bd73758803c2eed Christophe Leroy 2021-03-09 84 static inline void enable_kernel_vsx(void) bd73758803c2eed Christophe Leroy 2021-03-09 85 { bd73758803c2eed Christophe Leroy 2021-03-09 @86 BUILD_BUG(); bd73758803c2eed Christophe Leroy 2021-03-09 87 } bd73758803c2eed Christophe Leroy 2021-03-09 88 :::::: The code at line 86 was first introduced by commit :::::: bd73758803c2eedc037c2268b65a19542a832594 powerpc: Fix missing declaration of [en/dis]able_kernel_vsx() :::::: TO: Christophe Leroy :::::: CC: Michael Ellerman -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki