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 08549C433EF for ; Thu, 24 Feb 2022 08:52:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 849998D0002; Thu, 24 Feb 2022 03:52:20 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7F99E8D0001; Thu, 24 Feb 2022 03:52:20 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6E87D8D0002; Thu, 24 Feb 2022 03:52:20 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id 5CBCF8D0001 for ; Thu, 24 Feb 2022 03:52:20 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 29B81120A9C for ; Thu, 24 Feb 2022 08:52:20 +0000 (UTC) X-FDA: 79177056840.01.5D4F6D4 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf09.hostedemail.com (Postfix) with ESMTP id 363CB140002 for ; Thu, 24 Feb 2022 08:52:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645692739; x=1677228739; h=date:from:to:cc:subject:message-id:mime-version; bh=33Q1jt83DYjAtygIUmyORby6s4AbE6sZMruyTF1hBdA=; b=N8b6JgGaxsNKDwZkJpW0Whl8fHxKbh+SIBzRrJ9xMTVgULjQQLn87N3p mhE0ZKCLkMTAp8hZcqHGOY1gLNSbR6TiN9BTcuvtVFJwH2PhEWiohIwrF Lb1r9zXjC8BaLLSso2EgrBTzrIfbHCDH7XJfoa9mqm2fNV2ZyF9OtNekL 7hM3nEjwBbnoKaAzXJDPQ3hzWVgOpwBs440lGSkeof0elAeLLFVyhpfC8 JqouC8Kl6EeN+b7GOZ2SecnmbvUpvIAp0Q0btC8ThK8SiI7Ase88o+zP1 f5cekevEuijBceqi4s7lYkL43n0F6C5osQbauc4TKjpbtgJGRL2FmJEN/ g==; X-IronPort-AV: E=McAfee;i="6200,9189,10267"; a="252378321" X-IronPort-AV: E=Sophos;i="5.88,393,1635231600"; d="scan'208";a="252378321" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2022 00:52:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,393,1635231600"; d="scan'208";a="592015795" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 24 Feb 2022 00:52:16 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nN9rE-0002v8-3n; Thu, 24 Feb 2022 08:52:16 +0000 Date: Thu, 24 Feb 2022 16:51:31 +0800 From: kernel test robot To: "Liam R. Howlett" Cc: kbuild-all@lists.01.org, Linux Memory Management List , "Matthew Wilcox (Oracle)" Subject: [linux-next:master 6797/7915] mm/mmap.c:754:6: warning: no previous prototype for 'vma_store' Message-ID: <202202241600.1WmL7XfG-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-Rspam-User: Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=N8b6JgGa; spf=none (imf09.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.115) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 363CB140002 X-Stat-Signature: nz61t1yosjjgy8subddxgxacs59m5rp5 X-HE-Tag: 1645692739-750279 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: d4a0ae62a277377de396850ed4b709b6bd9b7326 commit: e1345552730700c6b405d20acdfb92da77d0cdbf [6797/7915] kernel/fork: Use maple tree for dup_mmap() during forking config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220224/202202241600.1WmL7XfG-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e1345552730700c6b405d20acdfb92da77d0cdbf git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout e1345552730700c6b405d20acdfb92da77d0cdbf # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/mmap.c:754:6: warning: no previous prototype for 'vma_store' [-Wmissing-prototypes] 754 | void vma_store(struct mm_struct *mm, struct vm_area_struct *vma) | ^~~~~~~~~ vim +/vma_store +754 mm/mmap.c 37f4270132af31 Liam R. Howlett 2020-07-24 748 37f4270132af31 Liam R. Howlett 2020-07-24 749 /* 37f4270132af31 Liam R. Howlett 2020-07-24 750 * vma_store() - Store a given vm_area_struct in the maple tree. 37f4270132af31 Liam R. Howlett 2020-07-24 751 * @mm: The struct_mm 37f4270132af31 Liam R. Howlett 2020-07-24 752 * @vma: The vm_area_struct to store in the maple tree. 37f4270132af31 Liam R. Howlett 2020-07-24 753 */ 37f4270132af31 Liam R. Howlett 2020-07-24 @754 void vma_store(struct mm_struct *mm, struct vm_area_struct *vma) 37f4270132af31 Liam R. Howlett 2020-07-24 755 { 37f4270132af31 Liam R. Howlett 2020-07-24 756 MA_STATE(mas, &mm->mm_mt, 0, 0); 37f4270132af31 Liam R. Howlett 2020-07-24 757 37f4270132af31 Liam R. Howlett 2020-07-24 758 trace_vma_store(vma->vm_mm, vma); 37f4270132af31 Liam R. Howlett 2020-07-24 759 vma_mas_store(vma, &mas); 37f4270132af31 Liam R. Howlett 2020-07-24 760 } 37f4270132af31 Liam R. Howlett 2020-07-24 761 :::::: The code at line 754 was first introduced by commit :::::: 37f4270132af31dd08a209799d420f72bfddb49c mm: Start tracking VMAs with maple tree :::::: TO: Liam R. Howlett :::::: CC: Liam R. Howlett --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org