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 B8E74C3DA45 for ; Fri, 12 Jul 2024 03:36:10 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 309666B007B; Thu, 11 Jul 2024 23:36:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2B9726B0093; Thu, 11 Jul 2024 23:36:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1A8D76B009F; Thu, 11 Jul 2024 23:36:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id F11C56B007B for ; Thu, 11 Jul 2024 23:36:09 -0400 (EDT) Received: from smtpin04.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 9477D1205F8 for ; Fri, 12 Jul 2024 03:36:09 +0000 (UTC) X-FDA: 82329687258.04.6F7264F Received: from out30-99.freemail.mail.aliyun.com (out30-99.freemail.mail.aliyun.com [115.124.30.99]) by imf01.hostedemail.com (Postfix) with ESMTP id 8335340002 for ; Fri, 12 Jul 2024 03:36:06 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=MvJ6mJj1; spf=pass (imf01.hostedemail.com: domain of baolin.wang@linux.alibaba.com designates 115.124.30.99 as permitted sender) smtp.mailfrom=baolin.wang@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1720755334; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=zj6wPj6Zh6XgSISd6AOm8AXZp2rbbWBD8O1Iq+f1CSU=; b=CU4SgT7sMYu1ijS/mSc1lPivc532U8l+SUF/veo4SXVIXlOvaFDhgi3/z/695VUck38nDM alvGXedVo4PWqFNgsfaICNbqFV0cdkNN1kzOxzU0DqLEPN2uZ1cYt0hNRI+CY9itpldnjt nWy9UIB/Xma+jdT08wu3PjjrgAz7/3M= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720755334; a=rsa-sha256; cv=none; b=KCy7/teDR6Crv2T0Yh77OBUjX0jBDMqIZits3WEVclBWOl5oIiEP/O7V3MkOl0RbbqnnyN Asz480svvqSRaDIje2HkrYlLbqc4eHooQMb2Swe6e7k8tprZo78KAIRao25BoBIC6jFBkc uRXpyYmcxPr9D2cBxfnii0yewbG3ln0= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=linux.alibaba.com header.s=default header.b=MvJ6mJj1; spf=pass (imf01.hostedemail.com: domain of baolin.wang@linux.alibaba.com designates 115.124.30.99 as permitted sender) smtp.mailfrom=baolin.wang@linux.alibaba.com; dmarc=pass (policy=none) header.from=linux.alibaba.com DKIM-Signature:v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.alibaba.com; s=default; t=1720755363; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type; bh=zj6wPj6Zh6XgSISd6AOm8AXZp2rbbWBD8O1Iq+f1CSU=; b=MvJ6mJj1kMxhpyeQqIavw8N3oK4M+zjKIAUdScXky4ZvdF1tqqQ8rKxDKUT7cXYc5yceEsLV2e8wrhbNSEmTK8Ne3Sw27AjkyolUnddsaMua1ztYJBmXmiAzOJ/AxHCW9hFGacuMn7NGT4wnRFKQPHWHli6eh4XNmlytav9RUVk= X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=maildocker-contentspam033023225041;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0WAMhTxo_1720755361; Received: from 30.97.56.66(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0WAMhTxo_1720755361) by smtp.aliyun-inc.com; Fri, 12 Jul 2024 11:36:02 +0800 Message-ID: <8066aaff-e7df-42fa-8142-d7cb22af3835@linux.alibaba.com> Date: Fri, 12 Jul 2024 11:36:01 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/3] mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders() To: kernel test robot , akpm@linux-foundation.org, hughd@google.com Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, willy@infradead.org, david@redhat.com, 21cnbao@gmail.com, ryan.roberts@arm.com, ziy@nvidia.com, ioworker0@gmail.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org References: <6e5858d345304d0428c1c2c2a25c289c062b4ea8.1720668581.git.baolin.wang@linux.alibaba.com> <202407121052.Jbq6PSIi-lkp@intel.com> From: Baolin Wang In-Reply-To: <202407121052.Jbq6PSIi-lkp@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Stat-Signature: fjbkkneweihyhnmz5mpzjmrsprn6z619 X-Rspamd-Queue-Id: 8335340002 X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1720755366-672361 X-HE-Meta: U2FsdGVkX18sv8XkMmLJJdRRBuph93TZTptyIcLy2e/g59nU7s6V4CKIzR+fDks5fLAT/UBUgtb1FCiumALUwxFDsoKi89szkA39p4cyr14MdnzYEYaC45Flsl8Hg7bA6WQTsyfiGlGihp+4A1sr9ayiS5EUCpyprbn0TVA7P2aYfG8ae3iSYknLmCsFU09FoaSLSjEE2kacX6AKHXdaxFop30Wv+Yu/eoEjP+AET4rFjrJ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PQ6Gz2l43fwexpQnbKfReAM4xf5UUxQrm1eyGffBly/FpTgKIuxLoPduJW1lOW5d4KH36reRjmiOsst6szX6HlBnq2ko7C3yN2f3eBHxAKdbjT3zlsbAl0y/vEL6zCS5L2pT+SmEasD8wC1ulbiXsaYUswOpzm3AN98tN1Ay4UXRyXwK/uJVISExJokRQxomV0I= 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: On 2024/7/12 11:10, kernel test robot wrote: > Hi Baolin, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on akpm-mm/mm-everything] > [also build test ERROR on next-20240711] > [cannot apply to linus/master v6.10-rc7] > [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/Baolin-Wang/mm-shmem-simplify-the-suitable-huge-orders-validation-for-tmpfs/20240711-134512 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > patch link: https://lore.kernel.org/r/6e5858d345304d0428c1c2c2a25c289c062b4ea8.1720668581.git.baolin.wang%40linux.alibaba.com > patch subject: [PATCH 3/3] mm: shmem: move shmem_huge_global_enabled() into shmem_allowable_huge_orders() > config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20240712/202407121052.Jbq6PSIi-lkp@intel.com/config) > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240712/202407121052.Jbq6PSIi-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/202407121052.Jbq6PSIi-lkp@intel.com/ > > All errors (new ones prefixed by >>): > >>> mm/shmem.c:1160:6: error: call to undeclared function 'shmem_huge_global_enabled'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 1160 | if (shmem_huge_global_enabled(inode, 0, false, NULL, 0)) > | ^ > 1 error generated. Thanks for reporting. I forgot to add a dummy function in case CONFIG_TRANSPARENT_HUGEPAGE is not enabled. Will fix in next version.