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 3B777C00144 for ; Fri, 29 Jul 2022 08:04:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CC562940007; Fri, 29 Jul 2022 04:04:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C75646B0073; Fri, 29 Jul 2022 04:04:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B3C8A940007; Fri, 29 Jul 2022 04:04:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 9F4C96B0072 for ; Fri, 29 Jul 2022 04:04:04 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 779ECA107C for ; Fri, 29 Jul 2022 08:04:04 +0000 (UTC) X-FDA: 79739399208.05.C378513 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by imf10.hostedemail.com (Postfix) with ESMTP id 626BAC00B6 for ; Fri, 29 Jul 2022 08:04:02 +0000 (UTC) Received: from dggpeml500021.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4LvKhZ6bCgzjXYf; Fri, 29 Jul 2022 16:01:02 +0800 (CST) Received: from dggpeml500007.china.huawei.com (7.185.36.75) by dggpeml500021.china.huawei.com (7.185.36.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 29 Jul 2022 16:03:58 +0800 Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by dggpeml500007.china.huawei.com (7.185.36.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 29 Jul 2022 16:03:57 +0800 Received: from lhrpeml500005.china.huawei.com ([7.191.163.240]) by lhrpeml500005.china.huawei.com ([7.191.163.240]) with mapi id 15.01.2375.024; Fri, 29 Jul 2022 09:03:56 +0100 From: Shameerali Kolothum Thodi To: kernel test robot CC: "llvm@lists.linux.dev" , "kbuild-all@lists.01.org" , Linux Memory Management List , Joerg Roedel , "Guohanjun (Hanjun Guo)" , renzhijie Subject: RE: [linux-next:master 6932/13542] drivers/acpi/arm64/iort.c:1406:2: error: call to undeclared function 'iort_iommu_rmr_get_resv_regions'; ISO C99 and later do not support implicit function declarations Thread-Topic: [linux-next:master 6932/13542] drivers/acpi/arm64/iort.c:1406:2: error: call to undeclared function 'iort_iommu_rmr_get_resv_regions'; ISO C99 and later do not support implicit function declarations Thread-Index: AQHYoww8bwRbRgf4uU+hXz2p747Xnq2U/Cog Date: Fri, 29 Jul 2022 08:03:55 +0000 Message-ID: References: <202207291335.1sImjcbY-lkp@intel.com> In-Reply-To: <202207291335.1sImjcbY-lkp@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.227.178] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of shameerali.kolothum.thodi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=shameerali.kolothum.thodi@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659081843; a=rsa-sha256; cv=none; b=1dqqHahbWHlj0NpnWEnktFeRsNEt/PHinvbFPM8jdRlU3nVZpybzokA7dW5p0jgHya+beT aEf39Jj+/5xB3nGgxrnSd5j2nMwlHga0IXxK048+sX1Yd3/5vpjkbT34f38Irl6hvGs+p7 RG61TpjlZoSy9D1Z1D4fdmZ7bALTkrU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659081843; 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=ETJk53hmKTmkKZv1IbQIFoVnRItun1LwG94SSFXDY5A=; b=JRF6HM2zdO/bfc742t7dOoympb+bjWVwXSDQtsmWAdQHaZ8UsrzNHOjjoQZEeExaoz5xZC heZCjA6Lg6cBEfzsxxyu9TXaQTNK4sjHc+7cBnLdiq30pgai8flkA2Y2YNAePy0pNYnVBG yqPXLP1sxOp5VUjAyn1/h4N97P15Aa0= X-Stat-Signature: 3emw9xyiaduuz9zixffpiour1eirwa37 X-Rspamd-Queue-Id: 626BAC00B6 X-Rspam-User: Authentication-Results: imf10.hostedemail.com; dkim=none; spf=pass (imf10.hostedemail.com: domain of shameerali.kolothum.thodi@huawei.com designates 45.249.212.187 as permitted sender) smtp.mailfrom=shameerali.kolothum.thodi@huawei.com; dmarc=pass (policy=quarantine) header.from=huawei.com X-Rspamd-Server: rspam02 X-HE-Tag: 1659081842-129497 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: > -----Original Message----- > From: kernel test robot [mailto:lkp@intel.com] > Sent: 29 July 2022 06:29 > To: Shameerali Kolothum Thodi > Cc: llvm@lists.linux.dev; kbuild-all@lists.01.org; Linux Memory Managemen= t > List ; Joerg Roedel ; Guohanjun > (Hanjun Guo) > Subject: [linux-next:master 6932/13542] drivers/acpi/arm64/iort.c:1406:2: > error: call to undeclared function 'iort_iommu_rmr_get_resv_regions'; ISO > C99 and later do not support implicit function declarations >=20 > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it > master > head: 7c5e07b73ff3011c9b82d4a3286a3362b951ad2b > commit: e302eea8f49717253ac64fd45b7cc719e87fa010 [6932/13542] > ACPI/IORT: Add a helper to retrieve RMR info directly > config: arm64-buildonly-randconfig-r005-20220728 > (https://download.01.org/0day-ci/archive/20220729/202207291335.1sImjc > bY-lkp@intel.com/config) > compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project > 8dfaecc4c24494337933aff9d9166486ca0949f1) > reproduce (this is a W=3D1 build): > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross > -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # install arm64 cross compiling tool for clang build > # apt-get install binutils-aarch64-linux-gnu > # > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi= t/ > ?id=3De302eea8f49717253ac64fd45b7cc719e87fa010 > 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 e302eea8f49717253ac64fd45b7cc719e87fa010 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang > make.cross W=3D1 O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/bin/bash drivers/acp= i/ >=20 > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot >=20 > All errors (new ones prefixed by >>): >=20 > >> drivers/acpi/arm64/iort.c:1406:2: error: call to undeclared function > 'iort_iommu_rmr_get_resv_regions'; ISO C99 and later do not support > implicit function declarations [-Wimplicit-function-declaration] > iort_iommu_rmr_get_resv_regions(iommu_fwnode, NULL, > head); > ^ > drivers/acpi/arm64/iort.c:1406:2: note: did you mean > 'iort_iommu_get_resv_regions'? > drivers/acpi/arm64/iort.c:1329:6: note: 'iort_iommu_get_resv_regions' > declared here > void iort_iommu_get_resv_regions(struct device *dev, struct list_head > *head) > ^ > 1 error generated. Right. This is already reported and a fix is provided by Zhijie here, https://lore.kernel.org/linux-arm-kernel/20220726033520.47865-1-renzhijie2@= huawei.com/ Thanks, Shameer =20 >=20 > vim +/iort_iommu_rmr_get_resv_regions +1406 drivers/acpi/arm64/iort.c >=20 > 1396 > 1397 /** > 1398 * iort_get_rmr_sids - Retrieve IORT RMR node reserved regions > with > 1399 * associated StreamIDs information. > 1400 * @iommu_fwnode: fwnode associated with IOMMU > 1401 * @head: Resereved region list > 1402 */ > 1403 void iort_get_rmr_sids(struct fwnode_handle *iommu_fwnode, > 1404 struct list_head *head) > 1405 { > > 1406 iort_iommu_rmr_get_resv_regions(iommu_fwnode, NULL, > head); > 1407 } > 1408 EXPORT_SYMBOL_GPL(iort_get_rmr_sids); > 1409 >=20 > -- > 0-DAY CI Kernel Test Service > https://01.org/lkp