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 X-Spam-Level: X-Spam-Status: No, score=-11.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7EF9C433DF for ; Wed, 8 Jul 2020 15:16:01 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 96B6C206DF for ; Wed, 8 Jul 2020 15:16:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96B6C206DF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 23BA48D001F; Wed, 8 Jul 2020 11:16:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1ED888D000B; Wed, 8 Jul 2020 11:16:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0DB9F8D001F; Wed, 8 Jul 2020 11:16:01 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0069.hostedemail.com [216.40.44.69]) by kanga.kvack.org (Postfix) with ESMTP id EDB048D000B for ; Wed, 8 Jul 2020 11:16:00 -0400 (EDT) Received: from smtpin04.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 636B5348D for ; Wed, 8 Jul 2020 15:16:00 +0000 (UTC) X-FDA: 77015258880.04.bead82_3106b1126ebe Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin04.hostedemail.com (Postfix) with ESMTP id 42EBE8007DD2 for ; Wed, 8 Jul 2020 15:15:57 +0000 (UTC) X-HE-Tag: bead82_3106b1126ebe X-Filterd-Recvd-Size: 5668 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf44.hostedemail.com (Postfix) with ESMTP for ; Wed, 8 Jul 2020 15:15:56 +0000 (UTC) Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 068F5CjP190604; Wed, 8 Jul 2020 11:15:51 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 325fsfhq6m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jul 2020 11:15:50 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 068EojLi017779; Wed, 8 Jul 2020 15:15:48 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06ams.nl.ibm.com with ESMTP id 322h1h4krt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 Jul 2020 15:15:48 +0000 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 068FFkgr43188244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 8 Jul 2020 15:15:46 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 61124A405B; Wed, 8 Jul 2020 15:15:46 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8EA43A4054; Wed, 8 Jul 2020 15:15:45 +0000 (GMT) Received: from linux.ibm.com (unknown [9.148.202.29]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 8 Jul 2020 15:15:45 +0000 (GMT) Date: Wed, 8 Jul 2020 18:15:43 +0300 From: Mike Rapoport To: kernel test robot Cc: kbuild-all@lists.01.org, Johannes Weiner , Pekka Enberg , Andrew Morton , Linux Memory Management List Subject: Re: [hnaz-linux-mm:master 82/248] arch/powerpc/mm/nohash/tlb.c:409:6: warning: no previous prototype for 'tlb_flush_pgtable' Message-ID: <20200708151543.GB781326@linux.ibm.com> References: <202007082200.hO0D7DWd%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202007082200.hO0D7DWd%lkp@intel.com> X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-08_13:2020-07-08,2020-07-08 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 malwarescore=0 suspectscore=0 impostorscore=0 clxscore=1011 bulkscore=0 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 mlxscore=0 adultscore=0 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2007080104 X-Rspamd-Queue-Id: 42EBE8007DD2 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam03 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 Wed, Jul 08, 2020 at 10:17:08PM +0800, kernel test robot wrote: > tree: https://github.com/hnaz/linux-mm master > head: 7ffdd789c7f570af323ad890ab09118af2e3b0d9 > commit: 9939c9934d2e30d1a3b3f7d85572ce3d5f2b0c90 [82/248] mm: remove unneeded includes of > config: powerpc-randconfig-r032-20200708 (attached as .config) > compiler: powerpc64-linux-gcc (GCC) 9.3.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 > git checkout 9939c9934d2e30d1a3b3f7d85572ce3d5f2b0c90 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc > > 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/nohash/tlb.c:409:6: warning: no previous prototype for 'tlb_flush_pgtable' [-Wmissing-prototypes] > 409 | void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address) > | ^~~~~~~~~~~~~~~~~ Here is the fix: >From f3c049a1b49f6ed92a61746e05a0087943d79254 Mon Sep 17 00:00:00 2001 From: Mike Rapoport Date: Wed, 8 Jul 2020 18:10:47 +0300 Subject: [PATCH] powerpc: fix compilation warning caused by missing include of asm/pgalloc.h Recent rework of asm/pgalloc.h caused a compilation warning reported by kbuild bot: All warnings (new ones prefixed by >>): >> arch/powerpc/mm/nohash/tlb.c:409:6: warning: no previous prototype for >> 'tlb_flush_pgtable' [-Wmissing-prototypes] 409 | void tlb_flush_pgtable(struct mmu_gather *tlb, unsigned long address) | ^~~~~~~~~~~~~~~~~ Add missing include of asm/pgtable.h to arch/powerpc/mm/nohash/tlb.c to make tlb_flush_pgtable() prototype visible there. Reported-by: kernel test robot Signed-off-by: Mike Rapoport --- arch/powerpc/mm/nohash/tlb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/mm/nohash/tlb.c b/arch/powerpc/mm/nohash/tlb.c index 696f568253a0..14514585db98 100644 --- a/arch/powerpc/mm/nohash/tlb.c +++ b/arch/powerpc/mm/nohash/tlb.c @@ -34,6 +34,7 @@ #include #include +#include #include #include #include -- 2.26.2