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 CD5BDC433EF for ; Wed, 13 Apr 2022 16:05:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 62E106B0072; Wed, 13 Apr 2022 12:05:31 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5DCE16B0073; Wed, 13 Apr 2022 12:05:31 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4A4C16B0074; Wed, 13 Apr 2022 12:05:31 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0161.hostedemail.com [216.40.44.161]) by kanga.kvack.org (Postfix) with ESMTP id 3EC316B0072 for ; Wed, 13 Apr 2022 12:05:31 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id E4D70A7AC8 for ; Wed, 13 Apr 2022 16:05:30 +0000 (UTC) X-FDA: 79352330820.26.927A851 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by imf10.hostedemail.com (Postfix) with ESMTP id E3DA4C0010 for ; Wed, 13 Apr 2022 16:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649865930; x=1681401930; h=date:from:to:cc:subject:message-id:mime-version; bh=l4DbhfHxywn/EQ+sYTtpNBRF4EsncCGGgPFv8MfLgLs=; b=c87TRkrdhG8CxeUl0QPLwRpCMCYWNNtPai/n1LrTQUwlRnUNBFYkKa36 xEqxeSg3d4+qp1tjA8qXWf+3ojfX1IwRooXyD5GN1SLKhiZ3eBbUzAXRp RGXC+iavY89DfaOOPJ5xtjX4+MYAUHHMVamclA+lI9Xkijjrv+2aP2NPL t1puZEANl3rcdzz5I74jEQUgMQxx6UvsczykWIqfu5dG13+QlNwEiJ4PQ sgpdadDOZYkVWKKa7SPsj00FEmmUuHQ8ySfwPAN06HOPUjLmAFDcEzAFe eZAmW5qDgGC6IET/INmiatSTM4XiO7hsmDSB9QEzARjaqOkHCTXLvT3VZ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="242641783" X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="242641783" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Apr 2022 09:05:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,257,1643702400"; d="scan'208";a="526528859" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 13 Apr 2022 09:05:26 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1nefUj-0000R2-O1; Wed, 13 Apr 2022 16:05:25 +0000 Date: Thu, 14 Apr 2022 00:04:44 +0800 From: kernel test robot To: Peter Xu Cc: kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton , linux-kernel@vger.kernel.org Subject: [linux-next:master 3834/3955] mm/memory.c:1238:1: sparse: sparse: symbol 'vma_needs_copy' was not declared. Should it be static? Message-ID: <202204140043.Tx7BIBvI-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-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: E3DA4C0010 X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=c87TRkrd; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf10.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.136) smtp.mailfrom=lkp@intel.com X-Stat-Signature: s9ccuyxyew1i7a8x4n5fj41wnohxgexy X-HE-Tag: 1649865929-206840 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: c97e430ab5539993ab2afc6e80deea80aef9d799 commit: 729c63ce2bbd5813b8061e50cc38187aed05114c [3834/3955] mm/shmem: handle uffd-wp during fork() config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20220414/202204140043.Tx7BIBvI-lkp@intel.com/config) compiler: gcc-11 (Debian 11.2.0-19) 11.2.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=729c63ce2bbd5813b8061e50cc38187aed05114c 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 729c63ce2bbd5813b8061e50cc38187aed05114c # save the config file to linux build tree mkdir build_dir make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> mm/memory.c:1238:1: sparse: sparse: symbol 'vma_needs_copy' was not declared. Should it be static? mm/memory.c:1031:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block mm/memory.c:1827:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block mm/memory.c:1875:9: sparse: sparse: context imbalance in 'insert_page' - different lock contexts for basic block mm/memory.c:2377:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block mm/memory.c:2633:17: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock mm/memory.c:2922:9: sparse: sparse: context imbalance in 'wp_page_copy' - different lock contexts for basic block mm/memory.c:3274:17: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock mm/memory.c:3341:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block mm/memory.c:5211:5: sparse: sparse: context imbalance in 'follow_invalidate_pte' - wrong count at exit mm/memory.c:5332:23: sparse: sparse: context imbalance in 'follow_pfn' - unexpected unlock mm/memory.c:5362:9: sparse: sparse: context imbalance in 'follow_phys' - unexpected unlock mm/memory.c:5396:9: sparse: sparse: context imbalance in 'generic_access_phys' - unexpected unlock Please review and possibly fold the followup patch. -- 0-DAY CI Kernel Test Service https://01.org/lkp