From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1AEBA606A33B for ; Sat, 5 Dec 2026 09:56:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=GOF/E5f4 Received: by kanga.kvack.org (Postfix) id 3A2ED6B05B1; Sat, 5 Dec 2026 04:56:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3535C6B05B2; Sat, 5 Dec 2026 04:56:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 242126B05B3; Sat, 5 Dec 2026 04:56:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id EF6396B05B1 for ; Sat, 5 Dec 2026 04:56:15 -0500 (EST) Received: from smtpin15.hostedemail.com (lb01a-stub [10.200.18.249]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 77D9B80392 for ; Sat, 5 Dec 2026 09:56:10 +0000 (UTC) X-FDA: 85509473700.15.2890543 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by imf02.hostedemail.com (Postfix) with ESMTP id CD20B8000F for ; Sat, 5 Dec 2026 09:56:07 +0000 (UTC) Authentication-Results: imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="GOF/E5f4"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; a=rsa-sha256; d=hostedemail.com; s=arc-20220608; cv=none; t=1796464568; b=GD3f6WjFz4MhVAP3GH+Rrt7k8ClBO09FMiwRX76zCwUhuFiw4BcpkF3YYuS1PtUYoR01R0 dzKA+DbGCiN9Ncghbbagg2xxl0oZeouAQAiVxLsuFPcGLlOWtD3H0SVLeFu1N7TSvlNzkz dlWvSrfN4oWQjnfWzE1FkDEs7TIqO5Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1796464568; 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:in-reply-to:references:references:dkim-signature; bh=ueDF87IvorEW8M//q4ciXWB+L/j2gyF5vaM4+OB8Yys=; b=IxzT7oXCoPhTNPEyaCURwNf2J0YwjSAfcXAvK8SPyztkJTtE3I7iqfMmTQzTBrOZWXLBHH G6oXhP41GX3pZkJVM8RXpy0rt3jlPAbSePrlw2KbdCX9ljAgviAv9DlCkxGfRaE6u+kpgf 20estp6EoQzYgS3aIWDN9FI7SSjJMow= ARC-Authentication-Results: i=1; imf02.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="GOF/E5f4"; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf02.hostedemail.com: domain of lkp@intel.com designates 198.175.65.15 as permitted sender) smtp.mailfrom=lkp@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796464568; x=1828000568; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ueDF87IvorEW8M//q4ciXWB+L/j2gyF5vaM4+OB8Yys=; b=GOF/E5f4sWaFto4Wq8/pUyw0VkPxkkIlsR2zXVsGOl7JN9CToZX8pn7L ZG/Tk0+WZoTfyklUXNIkCZnshypfKTaj6PDRL2jQ6tX/NfDjwMdLW1v5c tcuf/3AAFCrmU2DIxwzB2hFD/nJTC81aiBPwyU7xZ/OWePxMJpPEtoC2M DtFhcuN2Drnr7Xo68jwgO2aa6sanFZHrTD1p0uvyE6v+vCTKQIxOH4KKO dzJHI+udZpd5sDGte6VFdOnxAOsi30430uvkbEzlINpb3/F94yj8wyir4 MA/Mgp4yXtrA+sfgTy7OZEKojoe+CscD22YKy9HUQIqkpJriafyMpNyDk Q==; X-CSE-ConnectionGUID: YTYUgr/USKuyqXkjzqSC4Q== X-CSE-MsgGUID: 6CBlFA3PTrCJ136fE7eHnw== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5442111" X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="5442111" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2026 01:56:03 -0800 X-CSE-ConnectionGUID: yZRl4PXrS0mvid6E9q8RKg== X-CSE-MsgGUID: 2/k9hMfiSxSRepjg8yGuPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,80,1794902400"; d="scan'208";a="14292168" Received: from lkp-server01.sh.intel.com (HELO 0caa9d2d175c) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 05 Dec 2026 01:56:00 -0800 Received: from kbuild by 0caa9d2d175c with local (Exim 4.98.2) (envelope-from ) id 1xZmUm-00000001m1b-3YZ5; Sat, 05 Dec 2026 09:55:56 +0000 Date: Sat, 5 Dec 2026 17:55:00 +0800 From: kernel test robot To: Muchun Song , Oscar Salvador , David Hildenbrand , Mike Rapoport , Andrew Morton Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Linux Memory Management List , Muchun Song , "Liam R . Howlett" , Vlastimil Babka , Michal Hocko , Miaohe Lin , Naoya Horiguchi , Lance Yang , Qi Zheng Subject: Re: [PATCH 1/2] mm/vmemmap-optimization: track optimization state in shared vmemmap pages Message-ID: <20261204215615.prolt4W2-lkp@intel.com> References: <20261204065009.1392156-2-songmuchun@bytedance.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261204065009.1392156-2-songmuchun@bytedance.com> X-Rspamd-Server: rspam02 X-Rspam-User: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Stat-Signature: tqjoefsoi6ahu1ztex7eqy3rmg44wuos X-Rspamd-Queue-Id: CD20B8000F X-HE-Tag: 1796464567-169136 X-HE-Meta: U2FsdGVkX18Cpk+k0uBxZjYv9NUTYrzJwjV0pPq4Qa4Dxgk0baD6u8Y+TaTm4hG/ukDYC+M1G3DddNSe735RigCWqnSSTJlreejAknoihHafRg9lFmepR3mOXbeq31IbBKQHyu1k6kHkrx0abx5Z6b8/5qJMF4VyoZRCK4oAEss/yz/U2DuSzts0paPltOYX0M5Pbt3hO5khYcoUzfg5qzh5NsGDruHRKrSM5J8+IWPX0VF+fW+XaqsGQadu4P3rqEbjEcJTBWRGXu+xEBdDUxOV4gR3i0kYQa3AIcKzjtLbxiwNKSc6zoaPHJEnKDzKWTyL5mn2E2vwZEZYlMG2o7H+G82Xw/1mLCOB8+PY3SsqVIS1PUrwv7W9MCqMRhSirjM45e5mYpbTsYhz+PTqOOLzK3QtytKJyQU40WT/DOG2bCqHpR0zoTI3rpKZMOjupdGXAYj+/rY5Cfzavt5bO3aFdyDbVP56QJYDE41vXMEed+AC/0hGd/mtuCCsEB+1U/dRoVOi+9flYbW7UcV/9fD3ihO3NSlWOMBmOyhUGAxySiT2pl5Pa7QM1md8UY8hjifl0FBkQvhPq1IlEEzTL/diKlWIYkzAMpDdZmpEuZ7YEnei8K+opbo8zxIolJ+w8egBRj6YKi7R0gykBZQjKLDKtfqZJEFFbQhpZoMH5xyLvs3tgZ0k9nEU6FJY6LHx2NzM3HRBX/OnsWCQ0DQrtAHeXXHRyoGjVPt6SGYVblgdzyZabahsum71uWOuGVvTPyyznA2omlrFpOfJxe2LkJ0uqRCPFJfFn0N2C12OlvgeKWRawM3S430OUii8LFx4vzbrnzaCVeWgKxrh2IqrOhGLj7sMTTDGfSLA1XRIIwQlwR11oP8G3ydnVTm5u6Bcx9oS6Exe8j4Ggadyl5JK2c5BHxuOSF+GfmlSyyEnHfq5fp+WZ5HIbJbVC+kst2jn/v51AWCPikr8TyZVBwa lp5YW37p hZb7tbUo7XVkzqUAn8CulgDLP5NEUnBLjrUMfXx4rqC6lV/gbbTtR/q6Ef50HYOOx82iPhM9CP+I+FSA2xJo2aicdHdKgO1/lGY6moa3msAWFFTkLn7G5rk+viEre92ooYEH25sK7sCDThjR8823kQaiiP+B4kRbxV4hySHj96gt3t/SzubgacdDseoRhmeHZ35Rlwx8J/PMih+pYcbr4GqoqLpYSBESj2x5HecvC4GgtXBs05N+hnYpC9F278Rca+B1fW8tQzAPsDlxlW9ThyUWZO+ZzBe2FsF6ZWsaPs5BciJFQ2/Mo2bTwqqrrjXCTM1PhT8bLRcYG4GSxSCH0N7nv9rFQULwLBurcsBSxMMF5PbpLkWCxVKNFtfu0wLFuovMzo7xQuclRshfObF0odzcUTTCSEbCPx9XNYf6GVG5qM3UY7Gvu+jl+y9Djjt/Y/h37cTrzngtEcYuQ9yT6j9pBV3Jd6Sfr2wcsfL1gWuhSOTzQ97rb+Rq4Fvq2xsiVJNfXd0s8r7L2wNjUKyXVlSC4HoPTnqveVGrCDv2AHrghTvLbfctDcG7S2YkmfFcoo/2mYgbK0xmla535Lwa5AC0hEOFldbE0GN5VGb4twPd37pmA7VtudFMrHYQyhk8W3+/E0QmsI0njJv3EwH6FWk1ZLfGo9/ZAFjcX4vjCcAPKWNxedvfRrYG98y6uijiUDl0D Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi Muchun, kernel test robot noticed the following build errors: [auto build test ERROR on 1a7610248a3802e38124ce66b07eef12277be9a0] url: https://github.com/intel-lab-lkp/linux/commits/Muchun-Song/mm-vmemmap-optimization-track-optimization-state-in-shared-vmemmap-pages/20261204-145008 base: 1a7610248a3802e38124ce66b07eef12277be9a0 patch link: https://lore.kernel.org/r/20261204065009.1392156-2-songmuchun%40bytedance.com patch subject: [PATCH 1/2] mm/vmemmap-optimization: track optimization state in shared vmemmap pages config: loongarch-allnoconfig (https://download.01.org/0day-ci/archive/20261204/20261204215615.prolt4W2-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261204/20261204215615.prolt4W2-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/20261204215615.prolt4W2-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:31: In file included from include/linux/pgtable.h:6: In file included from arch/loongarch/include/asm/pgtable.h:75: >> include/linux/vmemmap-optimization.h:123:33: error: call to undeclared function 'folio_order'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | if (!vmemmap_optimizable_order(folio_order(folio))) | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 99 | set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 101 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:116:5: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 116 | (set1->sig[1] == set2->sig[1]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:116:21: warning: array index 1 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 116 | (set1->sig[1] == set2->sig[1]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here -- | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:175:20: note: expanded from macro '_SIG_SET_OP' 175 | set->sig[2] = op(set->sig[2]); \ | ^ ~ include/linux/signal.h:186:24: note: expanded from macro '_sig_not' 186 | #define _sig_not(x) (~(x)) | ^ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:187:1: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:175:3: note: expanded from macro '_SIG_SET_OP' 175 | set->sig[2] = op(set->sig[2]); \ | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:187:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:177:27: note: expanded from macro '_SIG_SET_OP' 177 | case 2: set->sig[1] = op(set->sig[1]); \ | ^ ~ include/linux/signal.h:186:24: note: expanded from macro '_sig_not' 186 | #define _sig_not(x) (~(x)) | ^ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:187:1: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 187 | _SIG_SET_OP(signotset, _sig_not) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:177:10: note: expanded from macro '_SIG_SET_OP' 177 | case 2: set->sig[1] = op(set->sig[1]); \ | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:198:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 198 | case 2: set->sig[1] = 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:211:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 211 | case 2: set->sig[1] = -1; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:242:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 242 | case 2: set->sig[1] = 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: In file included from include/linux/mm.h:36: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:7: include/linux/signal.h:255:10: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 255 | case 2: set->sig[1] = -1; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from arch/loongarch/kernel/asm-offsets.c:11: >> include/linux/mm.h:1950:28: error: conflicting types for 'folio_order' 1950 | static inline unsigned int folio_order(const struct folio *folio) | ^ include/linux/vmemmap-optimization.h:123:33: note: previous implicit declaration is here 123 | if (!vmemmap_optimizable_order(folio_order(folio))) | ^ 49 warnings and 2 errors generated. make[3]: *** [scripts/Makefile.build:185: arch/loongarch/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1417: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:248: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:248: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +/folio_order +123 include/linux/vmemmap-optimization.h 118 119 static inline bool folio_vmemmap_optimized(const struct folio *folio) 120 { 121 const struct page *page = folio_page(folio, VMEMMAP_OPTIMIZATION_NR_STRUCT_PAGES); 122 > 123 if (!vmemmap_optimizable_order(folio_order(folio))) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki