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 253E2C5478A for ; Wed, 21 Feb 2024 17:31:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8EE906B007B; Wed, 21 Feb 2024 12:31:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 89E8E6B007E; Wed, 21 Feb 2024 12:31:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 73F716B0080; Wed, 21 Feb 2024 12:31:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 60F9E6B007B for ; Wed, 21 Feb 2024 12:31:22 -0500 (EST) Received: from smtpin17.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B41DAC06B1 for ; Wed, 21 Feb 2024 17:31:21 +0000 (UTC) X-FDA: 81816502362.17.ACC3949 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by imf07.hostedemail.com (Postfix) with ESMTP id 8394C40019 for ; Wed, 21 Feb 2024 17:31:18 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kxLXvL3I; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1708536679; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=uEBIFX3kPRlFth91NU899eLWUM+hwcZzGFDNeYzXdUQ=; b=N+z22xTtmqcLuUod5sJZODvv6XchxD+R876LGBTIBx1FjxDheI7kvACAiGIUnDGoH+2mOd 1ir/+2awFitODAH+iyaVKXsofZ15fAUi4uNP43dNWkbDcllk/hbkrJtMpiV3uEuSyNr8Lt hcSuKDAIZbfN633SPajZnDuJgnPWEjA= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=kxLXvL3I; dmarc=pass (policy=none) header.from=intel.com; spf=pass (imf07.hostedemail.com: domain of lkp@intel.com designates 198.175.65.9 as permitted sender) smtp.mailfrom=lkp@intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1708536679; a=rsa-sha256; cv=none; b=Vj5IIS67J9+5+tF94nWf6+8DleRYohzdI+L+uU3FJlvOteiNtHOWxjVyHhdr8UnSVndd3R uEj9QuBn42Zm0FQPq2SXd925qoXzyVZWQu1jFePHk07leUb3k6/qQKzm9nrW6lZZWYey7f f05+nug0End7VrHijs0R5nZjunLEMzQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708536680; x=1740072680; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=x4m0ZIEdqBXtWBesysoHgAjQIPLTEUcC/b3cdm0G0oU=; b=kxLXvL3IaIP+2Bf0I6QbQSJEJJTeHKC877TM5ciwFIzEfOxhl97phEIs zknINgSoMvVznHXTNkHrJZN3NgQwfWajfFGqgyBKkOffhOsgnIVCbrJoQ YjA/87x9XdIlpRk5TCBd1jzuEOTh/dsRDvrD9q85FhTYAaOIfuh7vqS2c NeUPq+PAcIqr34o3VsToWNGm5joqp+GrDXBdJ8C9wtj8piiloP8J5lUBu fNUiHdj6LJ1reg8sFjEliyZSYKGtiEelswo34Y5jTBGzItIxcf3pljuqk uHOvIl2lLRODGE2bur8nlXEMdyAtMFV5Ldb1hxk33Cfs0IeBbFFDnxpvs g==; X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="25177044" X-IronPort-AV: E=Sophos;i="6.06,176,1705392000"; d="scan'208";a="25177044" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2024 09:31:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="827382575" X-IronPort-AV: E=Sophos;i="6.06,176,1705392000"; d="scan'208";a="827382575" Received: from lkp-server02.sh.intel.com (HELO 3c78fa4d504c) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 21 Feb 2024 09:31:15 -0800 Received: from kbuild by 3c78fa4d504c with local (Exim 4.96) (envelope-from ) id 1rcqR0-0005Xw-22; Wed, 21 Feb 2024 17:31:08 +0000 Date: Thu, 22 Feb 2024 01:30:42 +0800 From: kernel test robot To: "Vishal Moola (Oracle)" , linux-mm@kvack.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, muchun.song@linux.dev, "Vishal Moola (Oracle)" Subject: Re: [PATCH 1/3] mm/memory: Change vmf_anon_prepare() to be non-static Message-ID: <202402220109.SIlFdfQ5-lkp@intel.com> References: <20240220231424.126600-2-vishal.moola@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240220231424.126600-2-vishal.moola@gmail.com> X-Rspamd-Queue-Id: 8394C40019 X-Rspam-User: X-Rspamd-Server: rspam02 X-Stat-Signature: sfsxnnj6i4n7h3zsatrmhur7awbny5wi X-HE-Tag: 1708536678-880503 X-HE-Meta: U2FsdGVkX184bNCUM7V646uzFegaQH5qMhbrqzdnYb48fXMVaWibibGaaWCEm3ljbbc04r+dGy/GCx4hstFWXm6BhC5D7GSiz4pYuOvO+GO9tHvFhm0JX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AgJ1VL57j5gUPFFogfGJy/EIC4hFI/yOeeRSNnDaYvB+K5yrQlx50EYYmZanzkzfIMFM+oV1aXChlWY2YeMd+hsj8AGlY88AgO4gkTNIcZr1mEEpe333JHgtfnST3cMQokBbASigkFWF/ecAF7YERnHBoI06IzgjhhQgG6kyXWnQTbM4C3+NW0bbMl2bA0SVmVH5avrCFE2cuasph3tTDV0qtEguT3B9cPmx/ML+YVsjC7wXktOqYYbV+dVEdou/qOdjtb+JqWw1b1xcJBp4mzmunLbjCjPMyH7gqPvI 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: List-Subscribe: List-Unsubscribe: Hi Vishal, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v6.8-rc5 next-20240221] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Vishal-Moola-Oracle/mm-memory-Change-vmf_anon_prepare-to-be-non-static/20240221-071907 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20240220231424.126600-2-vishal.moola%40gmail.com patch subject: [PATCH 1/3] mm/memory: Change vmf_anon_prepare() to be non-static config: arm-defconfig (https://download.01.org/0day-ci/archive/20240222/202402220109.SIlFdfQ5-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240222/202402220109.SIlFdfQ5-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202402220109.SIlFdfQ5-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/memory.c:3283:12: warning: no previous prototype for function 'vmf_anon_prepare' [-Wmissing-prototypes] vm_fault_t vmf_anon_prepare(struct vm_fault *vmf) ^ mm/memory.c:3283:1: note: declare 'static' if the function is not intended to be used outside of this translation unit vm_fault_t vmf_anon_prepare(struct vm_fault *vmf) ^ static 1 warning generated. vim +/vmf_anon_prepare +3283 mm/memory.c 3282 > 3283 vm_fault_t vmf_anon_prepare(struct vm_fault *vmf) 3284 { 3285 struct vm_area_struct *vma = vmf->vma; 3286 3287 if (likely(vma->anon_vma)) 3288 return 0; 3289 if (vmf->flags & FAULT_FLAG_VMA_LOCK) { 3290 vma_end_read(vma); 3291 return VM_FAULT_RETRY; 3292 } 3293 if (__anon_vma_prepare(vma)) 3294 return VM_FAULT_OOM; 3295 return 0; 3296 } 3297 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki