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 1247DC54E58 for ; Wed, 20 Mar 2024 15:52:22 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5D4966B0082; Wed, 20 Mar 2024 11:52:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 55C936B0083; Wed, 20 Mar 2024 11:52:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D67B6B0088; Wed, 20 Mar 2024 11:52:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 28CCB6B0082 for ; Wed, 20 Mar 2024 11:52:22 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E000A1A11BA for ; Wed, 20 Mar 2024 15:52:21 +0000 (UTC) X-FDA: 81917859282.13.3462CFE Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) by imf17.hostedemail.com (Postfix) with ESMTP id A10614000D for ; Wed, 20 Mar 2024 15:52:19 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=BbNUKNkN; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 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=1710949940; 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=DYXfcuPGB4q+3Fyxw2MrP6JyjHprXYZyaOO2Pow9prM=; b=w/ew7xIfsXhVBTHPYLPfmUZnYW9vzJqp3Hi2zwZ7Oz+cWLyupEo42qPVYsbX/40/mnsJXX a7cq79s4cITIdgNcM+mKcOeYg5eNBUXgaH8g2NwucxMFh+qKtZT2tAKaTnfrcAU4I/nQGZ xP+UPlnrj+e0MoZZRupsrqZF9oBZH1A= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=BbNUKNkN; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf17.hostedemail.com: domain of lkp@intel.com designates 198.175.65.16 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1710949940; a=rsa-sha256; cv=none; b=JiW5vhCMtHtoh12Hin5ulq3T+ua4h3gaOT8hdY0vOrskqSsbRBH9/DvPeRq9zCgkehiniy KG9Tpfm/7tdS91fFScpbZXyc3UbymLu7lePcgPXt6Z/FLXoJGbk6+y2HqNfaE60KwXWNM+ QI0SzA+bzhcT6n1TwG3wb0DsTL2MBEU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710949939; x=1742485939; h=date:from:to:cc:subject:message-id:mime-version; bh=/9mlHb6MBu7WCLEyDVx61Tzy54VazGQmcDUfeMDBkDg=; b=BbNUKNkNP8z21X3DO6h+gW6Y4BQ7M3O9lcae8XoqMotu0/8NCcTA0zCJ GywntC/59oVYsFjS7gYAzOpd2+KcId2iE+ckvI9BBm+GmfzYCZ9G1u8wP WAT0zYw48y3ETgvGOxohtFthGPam42cw8pVHYqKXuZVzjE/b6jjjF5P4X EtqToNfzRzcjT84MUgjJL4f8xYFwuK0+c4A0fjWSedwqmtcq55QodYsyS IeBoN+UEgEUe0Kp/KHuoia67B6FqRN+4S99b0RzXb/8v28jaoVgUmGv0H pTsRkEtMcMOA9NTtSnAJGp3MpRHrEziJKPG/Z9U6ghIfb6mU5onvUreFW g==; X-IronPort-AV: E=McAfee;i="6600,9927,11019"; a="6001820" X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="6001820" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Mar 2024 08:52:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,140,1708416000"; d="scan'208";a="14075182" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by fmviesa010.fm.intel.com with ESMTP; 20 Mar 2024 08:52:17 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rmyEg-000Ik1-0d; Wed, 20 Mar 2024 15:52:14 +0000 Date: Wed, 20 Mar 2024 23:51:42 +0800 From: kernel test robot To: Dawei Li Cc: oe-kbuild-all@lists.linux.dev, Andrew Morton , Linux Memory Management List Subject: [akpm-mm:mm-nonmm-unstable 15/17] lib/cpumask.c:61: warning: cannot understand function prototype: 'struct kmem_cache *cpumask_cache __ro_after_init; ' Message-ID: <202403202344.Aao4CzXG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Rspam-User: X-Stat-Signature: 33tsj3i9jfohb4sm3dxcd7qzbreb65z5 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: A10614000D X-HE-Tag: 1710949939-33545 X-HE-Meta: U2FsdGVkX1/Ww4CDsV0JDCWTVSbpPEZw+576IrmL37rMdD8MPkfLWVJIHvd7PgnRamRQmjGVaS3/1ABN+rXIoMXqzVwXGCp3nPEuTBZn9ezpawIpaDvxpfoa4obtdsPdDVUl8HHS3y46XGKr3nLWK7Yfpba1y7g1G6ynV9lWL+Sg5LsgJhsS4QBaLCO8wNI6mBei18tTG38w+tNtTC5k2dgOTXEIaVhBYp5LV3BTq0ooJftdS8EzjxIVxRWT90zyPtUG4n4uN93TtWn24UbrAhwhmWT/U3Uz4LI8oxUeH4xJyZNr74n4p+0pc++GittDuvi65NCvr3kJqV+vyRmNaFU2r+fc9/mSODRcBZr71u8oa4cx6fYRy2wRNE7Ks8xjB4nlyi3MIcYOkFIAgdMI7k86zGt7tZfuYCQyGuS0ftzOoLO72qbHjm/mxZzv5LIXi2lX33+3AKzeTzZgAPX9Yhu7AUyu5olH578zqB/vhzbxfzjd4tLemFWcuA/wWV1e3viY7m/RJKlp8s6wIeusv6pRWXoaXZsZjr8+v2KIr+Hmm2th8glKs4Ao1arKZQQ+8MKVU1JJI4jFeYqTTvs31WBFVFi+SPy+ymBlpi54Jkt6NuW8/LRrKi8Qq7KNioTdRkCod4E/DVoO/EP7Hfp2CrsishuqHQlWf/nbEsyUA4u/21bAtBkDFYA97zdJFQwyYdPqM75TZ8DjH/hiqjm4F2jLlWEDSJhAkkXrbDZG84bjTvYSSszpheYqXDAEaqGurMuHNWC6h9vBMaXfQDvqaJOdbMvEUvkbQ2LsFAUJI8xDWkuIUGAgN785FT33CHv2O8EV211rpGh2hXidKMeN72PTg14pN+OIa1Qxh7Xsp8oOYV2YJdzGZplMNODgNzRQJao9xlcFumk= 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-nonmm-unstable head: fa63bc7d26007e1353fa90bb06cc37966bd1513a commit: 61ec2810d92f31b0ef8b30b08ee1d1e1ffc45ddc [15/17] cpumask: create dedicated kmem cache for cpumask var config: parisc-defconfig (https://download.01.org/0day-ci/archive/20240320/202403202344.Aao4CzXG-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240320/202403202344.Aao4CzXG-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/202403202344.Aao4CzXG-lkp@intel.com/ All warnings (new ones prefixed by >>): >> lib/cpumask.c:61: warning: cannot understand function prototype: 'struct kmem_cache *cpumask_cache __ro_after_init; ' vim +61 lib/cpumask.c 41 42 /* These are not inline because of header tangles. */ 43 #ifdef CONFIG_CPUMASK_OFFSTACK 44 /** 45 * alloc_cpumask_var_node - allocate a struct cpumask on a given node 46 * @mask: pointer to cpumask_var_t where the cpumask is returned 47 * @flags: GFP_ flags 48 * @node: memory node from which to allocate or %NUMA_NO_NODE 49 * 50 * Only defined when CONFIG_CPUMASK_OFFSTACK=y, otherwise is 51 * a nop returning a constant 1 (in ). 52 * 53 * Return: TRUE if memory allocation succeeded, FALSE otherwise. 54 * 55 * In addition, mask will be NULL if this fails. Note that gcc is 56 * usually smart enough to know that mask can never be NULL if 57 * CONFIG_CPUMASK_OFFSTACK=n, so does code elimination in that case 58 * too. 59 */ 60 > 61 static struct kmem_cache *cpumask_cache __ro_after_init; 62 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki