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 5E0B4C433F5 for ; Mon, 28 Feb 2022 17:35:21 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6324A8D0002; Mon, 28 Feb 2022 12:35:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 5E1408D0001; Mon, 28 Feb 2022 12:35:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D0B08D0002; Mon, 28 Feb 2022 12:35:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id 3D43C8D0001 for ; Mon, 28 Feb 2022 12:35:20 -0500 (EST) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id F0C29616FC for ; Mon, 28 Feb 2022 17:35:19 +0000 (UTC) X-FDA: 79192890000.15.22E2FDE Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf15.hostedemail.com (Postfix) with ESMTP id 09CBCA0010 for ; Mon, 28 Feb 2022 17:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646069719; x=1677605719; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=aMYtjEOpxF59nZtGs1ODxKpgRksNDTdLFEt+1j+s4FA=; b=C6ELgcPQXcQavTXhigrMv51wOoO9UA60Jo1jQDMTB6yHIelBJsFX4MzC CLUus83A5JF25zaip5RonEDfYYIN6cJVyNOyrZnL9o3MmGRbAN0foPRpu K8DE+1Nf/zi5EhdrZeyUCktTxpv3vnBSI5U/qoZGMAk6DiuGO5BJgzicb P78LNzgxLbFc2NpnxRPuN1cCH+lE6ccO6ReVNFdFwh4jhssw4+bVcuevt VwW3KyUwODRrRthI2YTbNlOdhTKuhtsvgJm8C1HE1b69eyow861b65P0I OFR+4T4/GDJRlS5Fsq49ESmPFgpAfTb4W2xZSQC287TBXKKTu97SFfNm9 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10272"; a="240349673" X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="240349673" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Feb 2022 09:35:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,144,1643702400"; d="scan'208";a="685411831" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 28 Feb 2022 09:35:14 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOjvW-0007ZN-6I; Mon, 28 Feb 2022 17:35:14 +0000 Date: Tue, 1 Mar 2022 01:34:58 +0800 From: kernel test robot To: Tiezhu Yang , Thomas Bogendoerfer , Mike Rapoport , Andrew Morton Cc: kbuild-all@lists.01.org, Linux Memory Management List , Xuefeng Li , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] MIPS: Refactor early_parse_mem() to fix mem= parameter Message-ID: <202202281751.WKuGplhT-lkp@intel.com> References: <1646029866-6692-2-git-send-email-yangtiezhu@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1646029866-6692-2-git-send-email-yangtiezhu@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 09CBCA0010 X-Stat-Signature: 4h99wk9139x9ht9hwm9hgeawfn986ak8 Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=C6ELgcPQ; spf=none (imf15.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.20) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1646069718-872407 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: Hi Tiezhu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hnaz-mm/master] [also build test WARNING on linus/master v5.17-rc6 next-20220225] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Tiezhu-Yang/MIPS-Modify-mem-and-memmap-parameter/20220228-143251 base: https://github.com/hnaz/linux-mm master config: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220228/202202281751.WKuGplhT-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/ed304f835ff384c8fe9b788e13d3ec4d93878416 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Tiezhu-Yang/MIPS-Modify-mem-and-memmap-parameter/20220228-143251 git checkout ed304f835ff384c8fe9b788e13d3ec4d93878416 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips SHELL=/bin/bash arch/mips/kernel/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/asm-generic/bug.h:22, from arch/mips/include/asm/bug.h:42, from include/linux/bug.h:5, from include/linux/mmdebug.h:5, from include/linux/mm.h:6, from include/linux/memblock.h:12, from arch/mips/kernel/setup.c:17: arch/mips/kernel/setup.c: In function 'early_parse_mem': >> include/linux/kern_levels.h:5:25: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'phys_addr_t' {aka 'unsigned int'} [-Wformat=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap' 418 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ include/linux/printk.h:509:9: note: in expansion of macro 'printk' 509 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~ include/linux/kern_levels.h:13:25: note: in expansion of macro 'KERN_SOH' 13 | #define KERN_NOTICE KERN_SOH "5" /* normal but significant condition */ | ^~~~~~~~ include/linux/printk.h:509:16: note: in expansion of macro 'KERN_NOTICE' 509 | printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__) | ^~~~~~~~~~~ arch/mips/kernel/setup.c:350:9: note: in expansion of macro 'pr_notice' 350 | pr_notice("Memory limited to %lldMB\n", memory_limit >> 20); | ^~~~~~~~~ vim +5 include/linux/kern_levels.h 314ba3520e513a Joe Perches 2012-07-30 4 04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII Start Of Header */ 04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001' 04d2c8c83d0e3a Joe Perches 2012-07-30 7 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org