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 E8024C00144 for ; Fri, 29 Jul 2022 05:29:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5D5566B0071; Fri, 29 Jul 2022 01:29:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 584508E0002; Fri, 29 Jul 2022 01:29:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 49B0E8E0001; Fri, 29 Jul 2022 01:29:29 -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 3AEC86B0071 for ; Fri, 29 Jul 2022 01:29:29 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 17CA3C15AE for ; Fri, 29 Jul 2022 05:29:29 +0000 (UTC) X-FDA: 79739009658.09.8EB641F Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf12.hostedemail.com (Postfix) with ESMTP id 8A895400D3 for ; Fri, 29 Jul 2022 05:29:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659072567; x=1690608567; h=date:from:to:cc:subject:message-id:mime-version; bh=FKuMALVxva2Uqy0kcBA5fyBScndyplbEssthNOa8VdQ=; b=SFkY5DlV9DPXNu1x82u3jCeyitlDaAVMmzAU3hGLjrsnhb4zYIr0Q6Wf M7jv8+M6lWYIBoMGDT6I3ao4iSHT2RfmWFb6D5hvQLtU5vqo6tEMh7Ruj XcSzSelrpQhDp7SWDvk+z1wWEgTRux2bp2JW1RaRP/TtXYWr7fNm0qQ6Y ygfwCno+0ghG22pjfr5ufcVDY5qo6+XU4hol7/+3gjRtxxj5C3xG263cY +XnSy9CpjnX8B/RR23D2Ep8ur55ViHf3/CV1Wpk86RdH87VM8ZGc3g2wM IxCyyYCFNAEKDmkPj1/ubcrCc/GG3akVbLfxP7BYNGZqZMtviTZ9XjxWJ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10422"; a="350399466" X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="350399466" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jul 2022 22:29:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,200,1654585200"; d="scan'208";a="576815045" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga006.jf.intel.com with ESMTP; 28 Jul 2022 22:29:24 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oHIYt-000B98-1h; Fri, 29 Jul 2022 05:29:23 +0000 Date: Fri, 29 Jul 2022 13:28:51 +0800 From: kernel test robot To: Shameer Kolothum Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Joerg Roedel , 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 Message-ID: <202207291335.1sImjcbY-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=SFkY5DlV; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1659072568; a=rsa-sha256; cv=none; b=gZ8a7+ueqlZeuGRg4z128zTkY0D0HBLoOj/anT3Jdz7uHwj8GVpygdk/U09P0n+e5DZ7aq GvkKYIlsZA8gc9DFahOdr/jEV943HVrvtrQMt54ZJBTLpQzjf3m1KwcbRR8aA25HaIR2m1 Wpi6l35um4GO8Vzu+9rYd8XjGmm6e2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659072568; 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: references:dkim-signature; bh=NN2Neapr82linBjq2ol8fSdihxcWMDOtgXhg1IHExzQ=; b=IjE5cqBMQSpm6IuNi5mUThGCudP9dML2nMvIdrY5EwtaJ/T/UQ107jO47lb3pvJjPzeUIz ptNy+XLQ6esMnZBhB0TZM/on2hRy/Q+j++Z2/ddCCeTZM2rbuaMeRl33K5MZKns3VeyDxe 0ugYC+vJ1G3foTvOPPM5tWydLK6vncA= Authentication-Results: imf12.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=SFkY5DlV; spf=pass (imf12.hostedemail.com: domain of lkp@intel.com designates 134.134.136.31 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam04 X-Rspam-User: X-Stat-Signature: nh6om8zudbc4pterpq8ooiw4u3h968os X-Rspamd-Queue-Id: 8A895400D3 X-HE-Tag: 1659072567-893331 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: 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.1sImjcbY-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 8dfaecc4c24494337933aff9d9166486ca0949f1) reproduce (this is a W=1 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/commit/?id=e302eea8f49717253ac64fd45b7cc719e87fa010 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=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/acpi/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> 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. vim +/iort_iommu_rmr_get_resv_regions +1406 drivers/acpi/arm64/iort.c 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 -- 0-DAY CI Kernel Test Service https://01.org/lkp