Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp965914lqb; Wed, 29 May 2024 16:53:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtg2PV0yXpgNc+s0J+Og4hkjTx3o+R8ezqVvU/YhsuTJ6TLNnc2SpWzUmFxFocRk2ocVQPxvYKCXr2bQddRd5K06oa5zjDJfa+j795Gw== X-Google-Smtp-Source: AGHT+IEMKpUJ+Yq6CigquwjMnKTNOnkVIpMiqzcWp3O3ZVLtbcLxdmDbMzU0ZpUnFyezeDn0sjfE X-Received: by 2002:a17:906:fe03:b0:a5a:34ae:10ea with SMTP id a640c23a62f3a-a65e9109f22mr35388966b.76.1717026827932; Wed, 29 May 2024 16:53:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717026827; cv=pass; d=google.com; s=arc-20160816; b=jXBltQg42a+dAP8sUWAebrsO4HDolkmxUW3NeL0+TEv2/WQR4hJqn9G4ZFsa3NubRZ vOpcEsvwCvtIvbErOdn7yrHoR32qvprSbV5e7I40809VjFfKX+tsp07B9Xw9sgXfTt/d qlDE41sOnynrT5jv/Tm7Rd9SaWL+8WJj+7r00BBTY34RoL5cdTsrpiHNM6RtoNLCe9zI SZBC1eyG2gdy+CYJhChCcFFwXgdykUyOMd6gqXfaJefE/C7xMVCGWTs1vM+jHsSF1mvr UZG6pEm46cxgfAY2HfP7QPDTuqLpNfKd3xOdv/OTuvmmR04WPSXuMVPsKsT7je42d5Er bOYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=0eiSg8o35kU1RoJzVQqx+/0AaedAw0aA6cuiKmFyJiI=; fh=uRw6Zm0VC2cp1mZH1gH0Sx1YSPuQkHmk0x2JU+Is0Ng=; b=DtbyEjUUe3WaHc5pSwEwHwNanJxum/lJ5rDSTvR5xT7O+qx5Ko+8O3J5IlTLvCcie4 m9D1XvtsYCegBWi2jGGpAwLBbgBJztfUsY5B4qGJhPC0JN920EOPqhc+G3h67XDdcjnE bB5+/GDJEzj+k+sk3kNchEl5byaOego6cpN0vR4quF+GQLQKiWKVBrwIx7zfA9l8i69w DcZL+sug3xDt7ZB0kM1OzfLBk6KEvCizP5MJwLFMjXzmAh5sqotpunHGqJA0jTzJ8cez 1lGUT020P4N7GtibtWc4vtYEt0B/FGGxfDsFR/8HxfgKZ3D3I93WNsZBwqyn3Zph7od0 O9eA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yf6ND5Y4; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-194792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc69215si728746166b.647.2024.05.29.16.53.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 16:53:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Yf6ND5Y4; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-194792-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194792-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 5A6241F220E0 for ; Wed, 29 May 2024 23:53:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A7CA1C2339; Wed, 29 May 2024 23:53:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Yf6ND5Y4" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF16528E8 for ; Wed, 29 May 2024 23:53:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717026819; cv=none; b=kZUlyeCaV/bL8iv2JIfscAwbucYPjwkyaRh4ec/Y6LVEHU7943GKzTRvJpqpi6p31vmfPW9UdUtiUZi9oDPi+J6gUlBwpcGWl89IVVIzYL48muTB2b8v8Bj9xnx3wR7Ko1UXH/V8FU79U8EBd8p9ieLTP9X9uoWt7xJOaKZp0c0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717026819; c=relaxed/simple; bh=36jZwZSXIToSxzpYpi86fDdgaMYzSQRp0CLlEvXYplE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=XE9hjKDeFPRJfY2FZ/oe/0REFfpellBpGoM2IgpYGsWGEdji9aajkQDPK2XexemRRck8m+EvoWtFwKbggfB9dJ60BHT1g1CmFuG7zC3hFS8wCLu6f4HLPPVsa9TX5UKDHje6PVmGWcSbosMBZUjA4S2pFah4YK6rohBDFQAMPcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=Yf6ND5Y4; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717026818; x=1748562818; h=date:from:to:cc:subject:message-id:mime-version; bh=36jZwZSXIToSxzpYpi86fDdgaMYzSQRp0CLlEvXYplE=; b=Yf6ND5Y4BuxWn7kWY/84XRIfzEClxSjkIooqRvrWNwNxHrE8dcScrCoF jLSwX4pC6UpmHdLtpeC3AQQ0uoV7l9/hDbr9zM9nXWeoUpBCMqQp3Fb1U nc27iuwrEBckaOveou6GL1XBL16kJNRC8o3X/z5Y245k7/GK5fiozq4WE imBrv4ff9NNppY7NgMrAftSAN+JeRl2PZ+YLMAREMh2SZo609nAaP/Ldy G230P7I451kPUBaefysPn6vJe8xGxpI74pha4vrTvfzOLSsOEzvrg/hK5 qScMMk5U61X5pyFsPUlP0kiHE+k4DZNm2aYLdaVXaX1pXjCgrF7VPsHM8 Q==; X-CSE-ConnectionGUID: thshPKWfQ6qyfWKL8IsY3Q== X-CSE-MsgGUID: DXrrh1YkRyGpiSqx0OwXaQ== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="13421753" X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="13421753" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2024 16:53:37 -0700 X-CSE-ConnectionGUID: RaVfxRjbTcuMLRqp8ToqOQ== X-CSE-MsgGUID: xrfTh/oLTz2ez+5wAQfDLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,199,1712646000"; d="scan'208";a="40074850" Received: from unknown (HELO 0610945e7d16) ([10.239.97.151]) by fmviesa003.fm.intel.com with ESMTP; 29 May 2024 16:53:35 -0700 Received: from kbuild by 0610945e7d16 with local (Exim 4.96) (envelope-from ) id 1sCT6o-000ELZ-0K; Wed, 29 May 2024 23:53:30 +0000 Date: Thu, 30 May 2024 07:52:45 +0800 From: kernel test robot To: Arnd Bergmann Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Gleixner Subject: arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared; did you mean 'CONFIG_LOG_BUF_SHIFT'? Message-ID: <202405300728.AhCYmaDn-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Arnd, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4a4be1ad3a6efea16c56615f31117590fd881358 commit: 5394f1e9b687bcf26595cabf83483e568676128d arch: define CONFIG_PAGE_SIZE_*KB on all architectures date: 3 months ago config: m68k-alldefconfig (https://download.01.org/0day-ci/archive/20240530/202405300728.AhCYmaDn-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240530/202405300728.AhCYmaDn-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/202405300728.AhCYmaDn-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from arch/m68k/include/asm/thread_info.h:6, from include/linux/thread_info.h:60, from include/asm-generic/preempt.h:5, from ./arch/m68k/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from arch/m68k/include/asm/processor.h:11, from include/linux/sched.h:13, from arch/m68k/kernel/asm-offsets.c:15: arch/m68k/include/asm/page_mm.h: In function 'virt_to_pfn': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page_mm.h:125:31: note: in expansion of macro 'PAGE_SHIFT' 125 | return __pa(kaddr) >> PAGE_SHIFT; | ^~~~~~~~~~ arch/m68k/include/asm/page.h:10:25: note: each undeclared identifier is reported only once for each function it appears in 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page_mm.h:125:31: note: in expansion of macro 'PAGE_SHIFT' 125 | return __pa(kaddr) >> PAGE_SHIFT; | ^~~~~~~~~~ arch/m68k/include/asm/page_mm.h: In function 'pfn_to_virt': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page_mm.h:130:28: note: in expansion of macro 'PAGE_SHIFT' 130 | return __va(pfn << PAGE_SHIFT); | ^~~~~~~~~~ include/asm-generic/getorder.h: In function 'get_order': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/asm-generic/getorder.h:33:48: note: in expansion of macro 'PAGE_SHIFT' 33 | return BITS_PER_LONG - PAGE_SHIFT; | ^~~~~~~~~~ arch/m68k/include/asm/thread_info.h: At top level: arch/m68k/include/asm/page.h:10:25: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef] 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/thread_info.h:13:5: note: in expansion of macro 'PAGE_SHIFT' 13 | #if PAGE_SHIFT < 13 | ^~~~~~~~~~ arch/m68k/include/asm/page.h:10:25: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef] 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ include/linux/mm_types_task.h:40:30: note: in expansion of macro 'PAGE_SIZE' 40 | #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536) | ^~~~~~~~~ arch/m68k/include/asm/page.h:10:25: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef] 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ include/linux/mm_types.h:502:6: note: in expansion of macro 'PAGE_SIZE' 502 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~ In file included from include/vdso/const.h:5, from include/linux/const.h:4, from include/linux/bits.h:5, from include/linux/ratelimit_types.h:5, from include/linux/printk.h:9, from include/asm-generic/bug.h:22, from arch/m68k/include/asm/bug.h:32, from include/linux/bug.h:5, from include/linux/thread_info.h:13: arch/m68k/include/asm/page.h:10:25: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef] 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/uapi/linux/const.h:32:50: note: in definition of macro '__ALIGN_KERNEL_MASK' 32 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ include/linux/mm_types.h:479:41: note: in expansion of macro '__ALIGN_MASK' 479 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ arch/m68k/include/asm/page.h:12:28: note: in expansion of macro 'PAGE_SIZE' 12 | #define PAGE_MASK (~(PAGE_SIZE-1)) | ^~~~~~~~~ include/linux/mm_types.h:479:62: note: in expansion of macro 'PAGE_MASK' 479 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~ include/linux/mm_types.h:502:18: note: in expansion of macro 'PAGE_FRAG_CACHE_MAX_SIZE' 502 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page.h:10:25: warning: "CONFIG_PAGE_SHIFT" is not defined, evaluates to 0 [-Wundef] 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/uapi/linux/const.h:32:61: note: in definition of macro '__ALIGN_KERNEL_MASK' 32 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ include/linux/mm_types.h:479:41: note: in expansion of macro '__ALIGN_MASK' 479 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ arch/m68k/include/asm/page.h:12:28: note: in expansion of macro 'PAGE_SIZE' 12 | #define PAGE_MASK (~(PAGE_SIZE-1)) | ^~~~~~~~~ include/linux/mm_types.h:479:62: note: in expansion of macro 'PAGE_MASK' 479 | #define PAGE_FRAG_CACHE_MAX_SIZE __ALIGN_MASK(32768, ~PAGE_MASK) | ^~~~~~~~~ include/linux/mm_types.h:502:18: note: in expansion of macro 'PAGE_FRAG_CACHE_MAX_SIZE' 502 | #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) | ^~~~~~~~~~~~~~~~~~~~~~~~ include/linux/vmalloc.h: In function 'arch_vmap_pte_range_map_size': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ include/linux/vmalloc.h:109:16: note: in expansion of macro 'PAGE_SIZE' 109 | return PAGE_SIZE; | ^~~~~~~~~ include/linux/vmalloc.h: In function 'arch_vmap_pte_supported_shift': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/linux/vmalloc.h:116:16: note: in expansion of macro 'PAGE_SHIFT' 116 | return PAGE_SHIFT; | ^~~~~~~~~~ include/linux/vmalloc.h: In function 'get_vm_area_size': >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared (first use in this function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ arch/m68k/include/asm/page.h:11:40: note: in expansion of macro 'PAGE_SHIFT' 11 | #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) | ^~~~~~~~~~ include/linux/vmalloc.h:200:37: note: in expansion of macro 'PAGE_SIZE' 200 | return area->size - PAGE_SIZE; | ^~~~~~~~~ include/linux/slab.h: At top level: >> arch/m68k/include/asm/page.h:10:25: error: 'CONFIG_PAGE_SHIFT' undeclared here (not in a function); did you mean 'CONFIG_LOG_BUF_SHIFT'? 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/linux/slab.h:309:34: note: in expansion of macro 'PAGE_SHIFT' 309 | #define KMALLOC_SHIFT_HIGH (PAGE_SHIFT + 1) | ^~~~~~~~~~ include/linux/slab.h:379:34: note: in expansion of macro 'KMALLOC_SHIFT_HIGH' 379 | kmalloc_caches[NR_KMALLOC_TYPES][KMALLOC_SHIFT_HIGH + 1]; | ^~~~~~~~~~~~~~~~~~ In file included from include/linux/init.h:5, from include/linux/printk.h:6: >> arch/m68k/include/asm/page.h:10:25: error: expression in static assertion is not an integer 10 | #define PAGE_SHIFT CONFIG_PAGE_SHIFT | ^~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/slab.h:475:1: note: in expansion of macro 'static_assert' 475 | static_assert(PAGE_SHIFT <= 20); | ^~~~~~~~~~~~~ include/linux/slab.h:475:15: note: in expansion of macro 'PAGE_SHIFT' 475 | static_assert(PAGE_SHIFT <= 20); | ^~~~~~~~~~ In file included from include/linux/irq.h:21, from include/asm-generic/hardirq.h:17, from ./arch/m68k/include/generated/asm/hardirq.h:1, from include/linux/hardirq.h:11, from include/linux/interrupt.h:11, from include/linux/kernel_stat.h:9, from arch/m68k/kernel/asm-offsets.c:16: include/linux/slab.h:522:47: warning: 'assume_aligned' attribute argument is not an integer constant [-Wattributes] 522 | __alloc_size(1); | ^~~~~~~~~~~~ include/linux/slab.h:525:62: warning: 'assume_aligned' attribute argument is not an integer constant [-Wattributes] 525 | __alloc_size(1); | ^~~~~~~~~~~~ include/linux/slab.h: In function 'kmalloc': include/linux/slab.h:584:30: warning: variable 'index' set but not used [-Wunused-but-set-variable] 584 | unsigned int index; | ^~~~~ include/linux/slab.h: In function 'kmalloc_node': include/linux/slab.h:600:30: warning: variable 'index' set but not used [-Wunused-but-set-variable] 600 | unsigned int index; | ^~~~~ make[3]: *** [scripts/Makefile.build:116: arch/m68k/kernel/asm-offsets.s] Error 1 make[3]: Target 'prepare' not remade because of errors. make[2]: *** [Makefile:1199: 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 +10 arch/m68k/include/asm/page.h 8 9 /* PAGE_SHIFT determines the page size */ > 10 #define PAGE_SHIFT CONFIG_PAGE_SHIFT > 11 #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) 12 #define PAGE_MASK (~(PAGE_SIZE-1)) 13 #define PAGE_OFFSET (PAGE_OFFSET_RAW) 14 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki