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 8F36EC433EF for ; Thu, 17 Feb 2022 19:47:08 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BC3076B0096; Thu, 17 Feb 2022 14:47:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B729B6B0098; Thu, 17 Feb 2022 14:47:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A3A066B0099; Thu, 17 Feb 2022 14:47:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0199.hostedemail.com [216.40.44.199]) by kanga.kvack.org (Postfix) with ESMTP id 93C596B0096 for ; Thu, 17 Feb 2022 14:47:07 -0500 (EST) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 41CD69528D for ; Thu, 17 Feb 2022 19:47:07 +0000 (UTC) X-FDA: 79153305294.07.0B493C0 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf31.hostedemail.com (Postfix) with ESMTP id 7020820006 for ; Thu, 17 Feb 2022 19:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645127226; x=1676663226; h=date:from:to:cc:subject:message-id:mime-version; bh=xv6pcA5dxgACBVYnbVuiAe1cTKMxE6gTqfXo+UBD0dU=; b=NT8k8Z33WWPhf/8qi9i27iCto7ouZU0OrxJOya6olHdvP7VvrjMEU6d0 QZWv9J+QD+JDBbnPQXzalFc2ncVyx7oRcCtYafWx5ZL9tCc0tS7DbKh3d gAkQh0JXPnQeVZEjVvma31ipOASzg4IHBChidjeU7HXst6KvC83QN9G4I K3VWihK8NRzCy+W8jQqlb2nr3eTEwybcjtp3Ddeuh/QJgjwCiFrsDtn5o RL15HcECsqthd7mNgkOruWldHX8h+THTW7JliX8q2MSsiPJHecwHuRuE/ gaI58r29wPmiHwr7BFk7FfFZBbzJOFXqZwSVS9BKJCVcc0m7ZQ+RgVSSe g==; X-IronPort-AV: E=McAfee;i="6200,9189,10261"; a="275553106" X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="275553106" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 11:47:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,376,1635231600"; d="scan'208";a="605157230" Received: from lkp-server01.sh.intel.com (HELO 6f05bf9e3301) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 17 Feb 2022 11:47:01 -0800 Received: from kbuild by 6f05bf9e3301 with local (Exim 4.92) (envelope-from ) id 1nKmk1-0000Ty-3I; Thu, 17 Feb 2022 19:47:01 +0000 Date: Fri, 18 Feb 2022 03:46:17 +0800 From: kernel test robot To: Christoph Hellwig Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , Logan Gunthorpe , Jason Gunthorpe , Dan Williams , Andrew Morton , Linux Memory Management List Subject: [hnaz-mm:master 237/343] arch/powerpc/mm/book3s64/pgtable.c:540:15: warning: no previous prototype for 'memremap_compat_align' Message-ID: <202202172347.lJ6oYVOE-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Stat-Signature: see6g5aepki4ak1sqzpt886mqe61yw5w X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 7020820006 Authentication-Results: imf31.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=NT8k8Z33; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf31.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com X-Rspam-User: X-HE-Tag: 1645127226-484614 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: tree: https://github.com/hnaz/linux-mm master head: 8857950589bc3b4920d69c3e0b2c06d33f445d21 commit: 236e08e72c118cbb20e780cc853378e2c341825c [237/343] mm: don't include in config: powerpc64-randconfig-m031-20220217 (https://download.01.org/0day-ci/archive/20220217/202202172347.lJ6oYVOE-lkp@intel.com/config) compiler: powerpc64le-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/hnaz/linux-mm/commit/236e08e72c118cbb20e780cc853378e2c341825c git remote add hnaz-mm https://github.com/hnaz/linux-mm git fetch --no-tags hnaz-mm master git checkout 236e08e72c118cbb20e780cc853378e2c341825c # 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=powerpc SHELL=/bin/bash arch/powerpc/mm/book3s64/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> arch/powerpc/mm/book3s64/pgtable.c:540:15: warning: no previous prototype for 'memremap_compat_align' [-Wmissing-prototypes] 540 | unsigned long memremap_compat_align(void) | ^~~~~~~~~~~~~~~~~~~~~ vim +/memremap_compat_align +540 arch/powerpc/mm/book3s64/pgtable.c 20626177c9de72 Nicholas Piggin 2021-12-02 531 387e220a2e5e63 Nicholas Piggin 2021-12-02 532 #if defined(CONFIG_ZONE_DEVICE) && defined(CONFIG_ARCH_HAS_MEMREMAP_COMPAT_ALIGN) 20626177c9de72 Nicholas Piggin 2021-12-02 533 /* 20626177c9de72 Nicholas Piggin 2021-12-02 534 * Override the generic version in mm/memremap.c. 20626177c9de72 Nicholas Piggin 2021-12-02 535 * 20626177c9de72 Nicholas Piggin 2021-12-02 536 * With hash translation, the direct-map range is mapped with just one 20626177c9de72 Nicholas Piggin 2021-12-02 537 * page size selected by htab_init_page_sizes(). Consult 20626177c9de72 Nicholas Piggin 2021-12-02 538 * mmu_psize_defs[] to determine the minimum page size alignment. 20626177c9de72 Nicholas Piggin 2021-12-02 539 */ 20626177c9de72 Nicholas Piggin 2021-12-02 @540 unsigned long memremap_compat_align(void) :::::: The code at line 540 was first introduced by commit :::::: 20626177c9de726c48802c15e8635cc154645588 powerpc: make memremap_compat_align 64s-only :::::: TO: Nicholas Piggin :::::: CC: Michael Ellerman --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org