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 A3709C67861 for ; Sat, 6 Apr 2024 09:30:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 91EC86B0082; Sat, 6 Apr 2024 05:30:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8A69F6B0083; Sat, 6 Apr 2024 05:30:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 76F536B0085; Sat, 6 Apr 2024 05:30:44 -0400 (EDT) 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 523806B0082 for ; Sat, 6 Apr 2024 05:30:44 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 811CBA17AB for ; Sat, 6 Apr 2024 09:30:43 +0000 (UTC) X-FDA: 81978587166.06.F07FB68 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by imf01.hostedemail.com (Postfix) with ESMTP id 08E1240011 for ; Sat, 6 Apr 2024 09:30:31 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TqC8R8cd; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.198.163.19 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712395833; a=rsa-sha256; cv=none; b=MfMAPqI9+IsTgn1UMDu904Wn/zYQK2KZ+TFSptb9xYXsFM8ZX7XlYLN1P9EPmmdmeFzyAE k0OphPOVH5MtdcD81fC5QQMtHCS/KL9/mwD+cMTrZCISymVp7tETKHMlSK4t0Vy9EFpb7I tDH14F/YS2C1utkHkgwY5rZjGGQnM+8= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=TqC8R8cd; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf01.hostedemail.com: domain of lkp@intel.com designates 192.198.163.19 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=1712395833; 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=ljq2dZP2JLydxbiJLGSXjVqfTcB1aJvDYG4+bRo4c/E=; b=8Bc6ya+J1ZVpy0xWwmmah/Tkcq3FUF4g32vEogzc/3ZHJb+rjU/103UrbXRIfAyhSMDwdQ cd2VZC7QPZUTy8A/eZbOn1Yd/wfHc31YaBOAcwuJ2WQOOSp73FtKxCdQCRjTQNzgPU7pPs eM8Ypn0HaeO/fcpAz8uhKVYTDDn4iEM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712395832; x=1743931832; h=date:from:to:cc:subject:message-id:mime-version; bh=taJ1IZL4sQ/L/mUTVEJneJ1QnpSIwDSAiY/beDRkeyc=; b=TqC8R8cdzG5+bA7QR41dPMTnn0vx8FiuEHLiQnWf+EDaY6HUMCrHUP2r aqvjNwJjLmCj4LQhguyWBb35v2hdq4JhUZN7cNPYSsUVL4UJI6OUMuIjj Xxxbiq9i17b5bGrfiSoeLDdYLjv9U7/Qf2DCfVxfT0Ogl68NeHWz0tB9X E9DARcWHTMAFpcaHpgadk3FwZ3DTqVqQ8Q4WN5kHO28mut+JX4Zw9CBQF zaqHKwTwrTaqNSfXSmHF8YqHnezi3XqbZ6+iW9pJshVstviPdgmsMlX3p Dv8PyacPTaQs5YqvrLXwwh2Gb8T8wD1EhDubajfs17+WTfMkI2bw2zykw w==; X-CSE-ConnectionGUID: o4DD453pQPqDYOMVY55JqQ== X-CSE-MsgGUID: ghw7CJzTSzifpO81j9bR7g== X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="7585859" X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="7585859" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Apr 2024 02:30:30 -0700 X-CSE-ConnectionGUID: vFlNZTshRVSN1bgXiDG1JQ== X-CSE-MsgGUID: Ebc/PSASTqu3JJwr64Tc3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="19326315" Received: from lkp-server01.sh.intel.com (HELO e61807b1d151) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 06 Apr 2024 02:30:28 -0700 Received: from kbuild by e61807b1d151 with local (Exim 4.96) (envelope-from ) id 1rt2NV-0003LC-2R; Sat, 06 Apr 2024 09:30:25 +0000 Date: Sat, 6 Apr 2024 17:30:01 +0800 From: kernel test robot To: Barry Song Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List Subject: [akpm-mm:mm-unstable 313/322] include/linux/huge_mm.h:274:16: error: fields must have a constant size: 'variable length array in structure' extension will never be supported Message-ID: <202404061754.n8jmZ6s3-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 08E1240011 X-Stat-Signature: ame6xj8k3axmxzrmp4i7ck3stycx9tyk X-HE-Tag: 1712395831-296798 X-HE-Meta: U2FsdGVkX1/yCZWJRFoG+c4EUfAulOEGH5kDSebVwnyNYMLS+m6I0nxwdLzRQDIVLoIWu4sKp0k0RbU1ZlMPoQtJQ9miCM4k/GU6RqsJdWmjjjKyW/GlVUz9Z244JvqsVmPlOJiK1mAxuJjauMb6RAEfTip5yEIHVfwcM7tMTlmHQ9CwwvumOwC1wOiCD6qX4IeYMi5vRQVhraUIowi6guIveoghNpSOlFqmTZFqKyg8fN2N+dL+Ch84nHEgkrvUxTP9jotHa88eJ3lHpXPdfxne8pOJmXx/IeDD8719M9N6Dto8OuRSN2EWT9N/ZRAaq1L4mWIqKejtY2ZjVD9vk6v/8DQDyVu00cWt8/U3nSw686+C3KQnq5kcR7J2lMGPRfgzPlVuSWMJhKCgAur+I1ixTbRuMiSXf50rGe+EznHm/RBO7jPvRQpHIkPZxzslGhE1+E4bbOJ0fsanfD0Kh0TnVB4JJnBAO4xTqp8+8r2z9YvA0KPsjWZCj+F6YYyejUTF1AW1sdl//WrObqnxpIMeh07vOw/VnReyb+4GPqmu14a4xgrfVORNzHaAKJYtoKJQdc+XiWQzVgsNcFJ9pN6DWeUkvsJa9B+c/W/K8M1CxTomjgi2IBiKEWzmKC1kk+QKtzIezEoyTx8j5WJVenYW4W7LA+MQaCbU6cshjoXaIoGyqhga4Vu/kBODnNKHqVSadbg7/a8BXtEb52qi6tkwqIFFaihVbOUJARmI228LxiVfLMjDcIBC0q2EP5eL2ZPLNy9/wIjEgYr5MbKmZLn+D5mWT5ZypsbCvpk0euc9Tph1mwAQq9CIy5jBDNrq7VlLYgDvod7VMGBMRYc8t+Gh1AVMlYd7fqPW39lZ2q4tD1gy+y7xDFCyNE0fLJjE3/Ccu3TYWPSXn/kaYAl9aqhMzzOM/L7WZ+2igv2YpZNSdP/9F69DKSAbOx7JU0NHviIAv0YuUjKqNgZL+8I U6qKCDD3 QrjmUZsBUMDUHIQPnZyHpLapwk6Z/oowQGN3GpKxMiSvxSX+FKpJ+XtAHUEFaZj8cumDSlOigy04eeIsMyJmQpsslfyhmRqJjPaxyuIXuLVSvrKjaE9qI95SsQbWdSEz8KLH810+55R+XpaYgfF45lAvgBCoPV2gx8KH6wkpyHPR/x1ttE9jNCH4NtzZq/uYpKF1nIZS3eTbPB/1eUIJdXOkfroehEE3P7st4CJzl24WixpxDpEqTA3S+60JcA+WwWhAhjHa1sTiKk61kGbdzjAmQ320QvxPCfnb/6R395KcGQp0RGqUzY3oKRj29mNQmtgcZTeQThphHfKAz+dgDzZSeT0C8pl16EhLh 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: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: f43b3aae94511d62174c3b29239da0dd22d0eeb3 commit: d4358ee0a075e232114dfec0cd162860cfa2771b [313/322] mm: add per-order mTHP anon_alloc and anon_alloc_fallback counters config: powerpc-allyesconfig (https://download.01.org/0day-ci/archive/20240406/202404061754.n8jmZ6s3-lkp@intel.com/config) compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 546dc2245ffc4cccd0b05b58b7a5955e355a3b27) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240406/202404061754.n8jmZ6s3-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/202404061754.n8jmZ6s3-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:1115: >> include/linux/huge_mm.h:274:22: warning: variable length array used [-Wvla] 274 | unsigned long stats[PMD_ORDER + 1][__MTHP_STAT_COUNT]; | ^~~~~~~~~~~~~ include/linux/pgtable.h:8:20: note: expanded from macro 'PMD_ORDER' 8 | #define PMD_ORDER (PMD_SHIFT - PAGE_SHIFT) | ^ arch/powerpc/include/asm/book3s/64/pgtable.h:207:33: note: expanded from macro 'PMD_SHIFT' 207 | #define PMD_SHIFT (PAGE_SHIFT + PTE_INDEX_SIZE) | ^ arch/powerpc/include/asm/book3s/64/pgtable.h:156:25: note: expanded from macro 'PTE_INDEX_SIZE' 156 | #define PTE_INDEX_SIZE __pte_index_size | ^ In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:1115: >> include/linux/huge_mm.h:274:16: error: fields must have a constant size: 'variable length array in structure' extension will never be supported 274 | unsigned long stats[PMD_ORDER + 1][__MTHP_STAT_COUNT]; | ^ >> include/linux/huge_mm.h:283:2: error: indirection requires pointer operand ('void' invalid) 283 | this_cpu_inc(mthp_stats.stats[order][item]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:501:28: note: expanded from macro 'this_cpu_inc' 501 | #define this_cpu_inc(pcp) this_cpu_add(pcp, 1) | ^~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:491:33: note: expanded from macro 'this_cpu_add' 491 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:365:11: note: expanded from macro '__pcpu_size_call' 365 | case 1: stem##1(variable, __VA_ARGS__);break; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/asm-generic/percpu.h:401:34: note: expanded from macro 'this_cpu_add_1' 401 | #define this_cpu_add_1(pcp, val) this_cpu_generic_to_op(pcp, val, +=) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:156:2: note: expanded from macro 'this_cpu_generic_to_op' 156 | raw_cpu_generic_to_op(pcp, val, op); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:72:2: note: expanded from macro 'raw_cpu_generic_to_op' 72 | *raw_cpu_ptr(&(pcp)) op val; \ | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:1115: >> include/linux/huge_mm.h:283:2: error: indirection requires pointer operand ('void' invalid) 283 | this_cpu_inc(mthp_stats.stats[order][item]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:501:28: note: expanded from macro 'this_cpu_inc' 501 | #define this_cpu_inc(pcp) this_cpu_add(pcp, 1) | ^~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:491:33: note: expanded from macro 'this_cpu_add' 491 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:366:11: note: expanded from macro '__pcpu_size_call' 366 | case 2: stem##2(variable, __VA_ARGS__);break; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/asm-generic/percpu.h:404:34: note: expanded from macro 'this_cpu_add_2' 404 | #define this_cpu_add_2(pcp, val) this_cpu_generic_to_op(pcp, val, +=) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:156:2: note: expanded from macro 'this_cpu_generic_to_op' 156 | raw_cpu_generic_to_op(pcp, val, op); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:72:2: note: expanded from macro 'raw_cpu_generic_to_op' 72 | *raw_cpu_ptr(&(pcp)) op val; \ | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:1115: >> include/linux/huge_mm.h:283:2: error: indirection requires pointer operand ('void' invalid) 283 | this_cpu_inc(mthp_stats.stats[order][item]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:501:28: note: expanded from macro 'this_cpu_inc' 501 | #define this_cpu_inc(pcp) this_cpu_add(pcp, 1) | ^~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:491:33: note: expanded from macro 'this_cpu_add' 491 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:367:11: note: expanded from macro '__pcpu_size_call' 367 | case 4: stem##4(variable, __VA_ARGS__);break; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/asm-generic/percpu.h:407:34: note: expanded from macro 'this_cpu_add_4' 407 | #define this_cpu_add_4(pcp, val) this_cpu_generic_to_op(pcp, val, +=) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:156:2: note: expanded from macro 'this_cpu_generic_to_op' 156 | raw_cpu_generic_to_op(pcp, val, op); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:72:2: note: expanded from macro 'raw_cpu_generic_to_op' 72 | *raw_cpu_ptr(&(pcp)) op val; \ | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:1115: >> include/linux/huge_mm.h:283:2: error: indirection requires pointer operand ('void' invalid) 283 | this_cpu_inc(mthp_stats.stats[order][item]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:501:28: note: expanded from macro 'this_cpu_inc' 501 | #define this_cpu_inc(pcp) this_cpu_add(pcp, 1) | ^~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:491:33: note: expanded from macro 'this_cpu_add' 491 | #define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/percpu-defs.h:368:11: note: expanded from macro '__pcpu_size_call' 368 | case 8: stem##8(variable, __VA_ARGS__);break; \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/asm-generic/percpu.h:410:34: note: expanded from macro 'this_cpu_add_8' 410 | #define this_cpu_add_8(pcp, val) this_cpu_generic_to_op(pcp, val, +=) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:156:2: note: expanded from macro 'this_cpu_generic_to_op' 156 | raw_cpu_generic_to_op(pcp, val, op); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/asm-generic/percpu.h:72:2: note: expanded from macro 'raw_cpu_generic_to_op' 72 | *raw_cpu_ptr(&(pcp)) op val; \ | ^~~~~~~~~~~~~~~~~~~~ In file included from arch/powerpc/kernel/asm-offsets.c:19: In file included from include/linux/mman.h:5: In file included from include/linux/mm.h:2237: include/linux/vmstat.h:500:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 500 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 501 | item]; | ~~~~ include/linux/vmstat.h:507:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 507 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 508 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:514:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion] 514 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_" | ~~~~~~~~~~~ ^ ~~~ include/linux/vmstat.h:519:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 519 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 520 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmstat.h:528:43: warning: arithmetic between different enumeration types ('enum zone_stat_item' and 'enum numa_stat_item') [-Wenum-enum-conversion] 528 | return vmstat_text[NR_VM_ZONE_STAT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~ ^ 529 | NR_VM_NUMA_EVENT_ITEMS + | ~~~~~~~~~~~~~~~~~~~~~~ In file included from arch/powerpc/kernel/asm-offsets.c:19: include/linux/mman.h:157:9: warning: division by zero is undefined [-Wdivision-by-zero] 157 | _calc_vm_trans(flags, MAP_LOCKED, VM_LOCKED ) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) | ^ ~~~~~~~~~~~~~~~~~ include/linux/mman.h:158:9: warning: division by zero is undefined [-Wdivision-by-zero] 158 | _calc_vm_trans(flags, MAP_SYNC, VM_SYNC ) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) | ^ ~~~~~~~~~~~~~~~~~ include/linux/mman.h:159:9: warning: division by zero is undefined [-Wdivision-by-zero] 159 | _calc_vm_trans(flags, MAP_STACK, VM_NOHUGEPAGE) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/mman.h:136:21: note: expanded from macro '_calc_vm_trans' 136 | : ((x) & (bit1)) / ((bit1) / (bit2)))) | ^ ~~~~~~~~~~~~~~~~~ 9 warnings and 5 errors generated. make[3]: *** [scripts/Makefile.build:117: arch/powerpc/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1197: prepare0] Error 2 make[2]: Target 'prepare' not remade because of errors. make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Target 'prepare' not remade because of errors. make: *** [Makefile:240: __sub-make] Error 2 make: Target 'prepare' not remade because of errors. vim +274 include/linux/huge_mm.h 272 273 struct mthp_stat { > 274 unsigned long stats[PMD_ORDER + 1][__MTHP_STAT_COUNT]; 275 }; 276 277 DECLARE_PER_CPU(struct mthp_stat, mthp_stats); 278 279 static inline void count_mthp_stat(int order, enum mthp_stat_item item) 280 { 281 if (unlikely(order > PMD_ORDER)) 282 return; > 283 this_cpu_inc(mthp_stats.stats[order][item]); 284 } 285 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki