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 490D8C433F5 for ; Thu, 17 Feb 2022 20:55:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9EF8F6B0075; Thu, 17 Feb 2022 15:55:58 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 99E766B0078; Thu, 17 Feb 2022 15:55:58 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8409B6B007B; Thu, 17 Feb 2022 15:55:58 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0217.hostedemail.com [216.40.44.217]) by kanga.kvack.org (Postfix) with ESMTP id 771BB6B0075 for ; Thu, 17 Feb 2022 15:55:58 -0500 (EST) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 2633D180AA9BF for ; Thu, 17 Feb 2022 20:55:58 +0000 (UTC) X-FDA: 79153478796.06.9DEDC79 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf23.hostedemail.com (Postfix) with ESMTP id 82D0314000A for ; Thu, 17 Feb 2022 20:55:57 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 33F48B82519; Thu, 17 Feb 2022 20:55:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 74549C340E8; Thu, 17 Feb 2022 20:55:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1645131354; bh=/qfIvuEnZiYisePyk5Fyfjy1PkbsP8GTfWH3Fe9Xkgs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ul/yTwB0cHWwxKTGk2Xl5JxIKPJ5CQpExkPYUNYHoc221kQfQy+o4ufMUyMt2tYnV sZKrHqVwa9yQuOQRLpwD1FCAlD1zT91PvSgkA6/unxLqbYsNCAlCiHVWZJEPG1qkF3 8YkfHGfrp3gvdNhL1JmWdJPXxhbxO5olJmnq3QuE= Date: Thu, 17 Feb 2022 12:55:53 -0800 From: Andrew Morton To: kernel test robot Cc: Christoph Hellwig , kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , Logan Gunthorpe , Jason Gunthorpe , Dan Williams , Linux Memory Management List Subject: Re: [hnaz-mm:master 237/343] arch/powerpc/mm/book3s64/pgtable.c:540:15: warning: no previous prototype for 'memremap_compat_align' Message-Id: <20220217125553.88a9ce7723ea8fd39c76a199@linux-foundation.org> In-Reply-To: <202202172347.lJ6oYVOE-lkp@intel.com> References: <202202172347.lJ6oYVOE-lkp@intel.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="Ul/yTwB0"; spf=pass (imf23.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspamd-Server: rspam07 X-Rspam-User: X-Rspamd-Queue-Id: 82D0314000A X-Stat-Signature: to3n13whdcsc5p7xqtko3up5867rn757 X-HE-Tag: 1645131357-11444 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: On Fri, 18 Feb 2022 03:46:17 +0800 kernel test robot wrote: > 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) > | ^~~~~~~~~~~~~~~~~~~~~ Thanks, I did this. --- a/arch/powerpc/mm/book3s64/pgtable.c~mm-dont-include-linux-memremaph-in-linux-mmh-fix-2-fix +++ a/arch/powerpc/mm/book3s64/pgtable.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include _