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 535F1C25B78 for ; Sat, 25 May 2024 06:39:27 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 81C186B0085; Sat, 25 May 2024 02:39:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7CA8F6B0088; Sat, 25 May 2024 02:39:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6B9E06B0089; Sat, 25 May 2024 02:39:26 -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 4E93D6B0085 for ; Sat, 25 May 2024 02:39:26 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id AE20240E84 for ; Sat, 25 May 2024 06:39:25 +0000 (UTC) X-FDA: 82155966690.16.FE3C1A3 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf06.hostedemail.com (Postfix) with ESMTP id 7C900180004 for ; Sat, 25 May 2024 06:39:22 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf06.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1716619163; 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; bh=y5Ua3PV0twewGtbENe3R20TytEd+ynD1lPY49Gz1w7U=; b=4PKjn+FebbgD695qkauyjXtrVs2G/e8NpNx1SVpeYN3rm9liwv+0pOguisRk62MnlCrbO3 PhvUu8YpTE63lfSqr96pK0AN/B9h0CE2N4LLjdNhRvm6XVicdMOuLzLdpl82qOpfn5H6V9 +wxR3pXfGFCPjnSnZ3AIfqWR2CcZtxU= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; dmarc=pass (policy=quarantine) header.from=huawei.com; spf=pass (imf06.hostedemail.com: domain of linmiaohe@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=linmiaohe@huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1716619164; a=rsa-sha256; cv=none; b=ZmuGr4Rdo3dDL+9cruNFXCbSCK63yyck4oQRjW5Sr9ZCTZd1hHExU4sQ65WuvKoQWLiMDS oWJhZ9FH0YqtA4hvnNjk3P/ycMpgK18UpGDTO9wWS3J2SNUMfoGhLtH6Zzb30ONwTaEWqh a0cbXQH8YasYUKaOOM0UvOf2tlcA5zY= Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4VmXGY2FwlzxPyn; Sat, 25 May 2024 14:35:33 +0800 (CST) Received: from canpemm500002.china.huawei.com (unknown [7.192.104.244]) by mail.maildlp.com (Postfix) with ESMTPS id D56DF180A9F; Sat, 25 May 2024 14:39:17 +0800 (CST) Received: from [10.173.135.154] (10.173.135.154) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Sat, 25 May 2024 14:39:17 +0800 Subject: Re: [PATCH 10/13] mm/memory-failure: move some function declarations into internal.h To: kernel test robot CC: , , , , , , , References: <20240524091310.1430048-11-linmiaohe@huawei.com> <202405251049.hxjwX7zO-lkp@intel.com> From: Miaohe Lin Message-ID: <2600230a-5e81-393f-509a-17dbdda99259@huawei.com> Date: Sat, 25 May 2024 14:39:16 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <202405251049.hxjwX7zO-lkp@intel.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.135.154] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500002.china.huawei.com (7.192.104.244) X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 7C900180004 X-Stat-Signature: k68134k4qc31d4rzg93kz867ixn1qahp X-Rspam-User: X-HE-Tag: 1716619162-811307 X-HE-Meta: U2FsdGVkX19VSLaCcRIqpGvcVQae4BDNxkXiE6qeZC33cY4zasjlHdey/5sD+DAwHzq916Aab7222PCdRiFB276j4h6h869fEOfX9zJS88nmhUhoXs4jdPTguz+J8TS5hIESUX/6MnoHeHc9LyJeXlJhUVpVpx5DOrFk7bpZY5byes2N8tLcNfOCGtRKUqLC5WZkpVHl5gDPBfDMuxc6l/BfrfvSwk+VdCYHPi/FD2IxoyV0FCDRTuRWlz9k+R3mZoPvE9VMzTlH42JU1MWftAox0m/COqjg6W9d+tErZUHKWMRhI5PmcTfUKrkMcOeBhjIY2Xl5cigcxgQ9sOgDqtKJlK1VQ0rxJyGdpf0naFJWg3IxFtSnF9MfF2XIgIWPQFSHeIvn8+MC4Y6TOYN87UaLRcOdegZ7hXvpCkRptbYqpv01e7b61gb1GUae4Jz4VKoO+hjgUyZ4N3AJtun7K9ilQCix7YqUuRSRmFFmG0ZskEZswhCHv4IurBJORNpQS0AikAwPovRUvWSgX5wSr78Q96X5L2SkRVg38wnSt2p1KJ2NX9Tp36XoifW/9EHEUdY9gU2oEK0gak8fRMnYGWylwhPPWOsIlCbz7xnCKyZ1f8MOG0MMSBh58pVP3cq1pXgzLz4GMNlnnIoTj1TEshaolKdvN5LtSVo83EE2IszkMX4z98oKPrFxlo7OjqfeGwsYn9kwZ++oS0wFLl8OyeMKPhtt4XfoCP8kYip6P1na0FDAaGeMmuYvP70WxiyebxkEebieK2jwrm0esG8GKB7275Dt0S3zZA5bBhWDi3B7dZhzWwIvaoHBYfz7GomPWQOA+QrNg0luXuoANlFEarxpIIfP4iLeWueatHv5L0T94Gsub9G9jJpCOVK7O0iSYf07/ott81Akza55vJs0yeqQgGsELsofkyvSgnCWVLMiCuzdXWNd2LujR5MKsmaivkHqSpkFwqZD9/hlsX4 DlaPMXGY Il8sF6+CSm7fUnEWShWOBi59nUVY3hKxhGddhoxbThr1SwyPem9DrGrSS5vJURaMatj8t7y+MAc+u4GVujCsDVqm0eMieSTMcCp2OatspzNNtLI9UXw/iesPGF26biiM8rTbmfqE8LAFg1x4q0mPRs8z5OO3ar6yPDt/+Re8Fd9ymif0FQrx7t6ub1saz/4JOsic75Bao7ByzUXmfqhsPfCnDHp81cvRj83hKVmQTpdGxJkgCZ/Fqzsnug7sOGM48M87PgFVedarqLjPXa0jKdJrxBfan9kYwglCvi4ZI/5fIGWdt6kbE99agIsf55zd2J+5jBZIX/IdUmDhzZnL2lnKfAFqR3sbc21LbzZRzxK6N0I/l7h/AC+kNFErnQgdW1SRxMsuWgKsjftn78AcBPCm/juJdyCih4AW71dhPqW8htvU81vy+Nv/loVZZUEHtMkYg+/aQ2AgBGgk= 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/5/25 10:39, kernel test robot wrote: > Hi Miaohe, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on akpm-mm/mm-everything] > [also build test ERROR on linus/master next-20240523] > [cannot apply to v6.9] > [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/Miaohe-Lin/mm-memory-failure-simplify-put_ref_page/20240524-171903 > base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything > patch link: https://lore.kernel.org/r/20240524091310.1430048-11-linmiaohe%40huawei.com > patch subject: [PATCH 10/13] mm/memory-failure: move some function declarations into internal.h > config: powerpc-allmodconfig (https://download.01.org/0day-ci/archive/20240525/202405251049.hxjwX7zO-lkp@intel.com/config) > compiler: powerpc64-linux-gcc (GCC) 13.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240525/202405251049.hxjwX7zO-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/202405251049.hxjwX7zO-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > drivers/vfio/vfio_iommu_spapr_tce.c: In function 'tce_page_is_contained': >>> drivers/vfio/vfio_iommu_spapr_tce.c:195:16: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] > 195 | return page_shift(compound_head(page)) >= it_page_shift; > | ^~~~~~~~~~ > | page_size > cc1: some warnings being treated as errors > -- > arch/powerpc/mm/book3s64/iommu_api.c: In function 'mm_iommu_do_alloc': >>> arch/powerpc/mm/book3s64/iommu_api.c:155:45: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] > 155 | pageshift = page_shift(compound_head(page)); > | ^~~~~~~~~~ > | page_size > cc1: some warnings being treated as errors > -- > drivers/net/ethernet/ibm/ehea/ehea_qmr.c: In function 'ehea_is_hugepage': >>> drivers/net/ethernet/ibm/ehea/ehea_qmr.c:676:13: error: implicit declaration of function 'page_shift'; did you mean 'page_size'? [-Werror=implicit-function-declaration] > 676 | if (page_shift(pfn_to_page(pfn)) != EHEA_HUGEPAGESHIFT) > | ^~~~~~~~~~ > | page_size > cc1: some warnings being treated as errors Will fix this too. Thanks for testing and reporting. Thanks. .