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 69B4FC00140 for ; Sun, 31 Jul 2022 09:13:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AFAF86B0072; Sun, 31 Jul 2022 05:13:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AAAA46B0073; Sun, 31 Jul 2022 05:13:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 974026B0074; Sun, 31 Jul 2022 05:13:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 853466B0072 for ; Sun, 31 Jul 2022 05:13:05 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 51244C0594 for ; Sun, 31 Jul 2022 09:13:05 +0000 (UTC) X-FDA: 79746830730.06.EB73B7D Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf16.hostedemail.com (Postfix) with ESMTP id A1F341800E7 for ; Sun, 31 Jul 2022 09:13:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659258783; x=1690794783; h=date:from:to:cc:subject:message-id:mime-version; bh=vDxxk6E3J8qEYPaob+b7z33wF4k3acD0LUfhTaMPvJQ=; b=lCWbvhCkOeYVzB/V+CqZsYSUUEdpWrhMwfTv1OFQ9isdYPL6GGv8Mp1g gUAqH1QCzsV90ik0N4GlCNJ1TWfrQWkWcEFf4SrjZ4Op868wGQHFM5SZz e7hNJFnf7fnMQZgI28/3m7xq+9bBmMBk93voUPlkqlgWIm/f+vqOt7yBb SJckPLWT1LloK0EI++6Re4mG1yKTt+QKXHVoGENr9UiWdSQMMs1sNesrJ L5dwMhE0e1NYX9WMf9DA/4OLvHmvBGEW4u/8cNQKecuCd3tPIxoJsxjkW IuCdzQ5c9axuljZXXVgKN35qUBVCBHn1qOr2ePeRn5IdUtKddjq9w2fsg Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10424"; a="314796277" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="314796277" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 02:13:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="929219931" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga005.fm.intel.com with ESMTP; 31 Jul 2022 02:13:00 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oI50N-000Dx5-39; Sun, 31 Jul 2022 09:12:59 +0000 Date: Sun, 31 Jul 2022 17:12:49 +0800 From: kernel test robot To: Huacai Chen Cc: kbuild-all@lists.01.org, Linux Memory Management List , Marc Zyngier , Jianmin Lv Subject: [linux-next:master 11178/13542] drivers/irqchip/irq-loongson-pch-lpc.c:164:41: error: invalid use of undefined type 'struct acpi_madt_lpc_pic' Message-ID: <202207311732.ovnvUbo2-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lCWbvhCk; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 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=1659258785; a=rsa-sha256; cv=none; b=GUVI90F5uZ/7gRcByXHiTD6WSTfyZJSGPzVpORwwGVvXSQjpaRmNwUK2G3puy3o9k5oSmV CuTRSFuOqfLjg5fd4xLlagV6L3Ps+5l8B360OMIBaRDZYEZijiGiOHV3sprSDPweyBQnHR 1Ejv6M3T0n1hX6ERM8GUffKnZdXaaOA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1659258785; 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=FbEq9EpkYtfWKQB1FVdRNtl193q2tR/TmIrrq/WoaHI=; b=iNenRjvWe+h/rkhXXo7ucgE+0dE6ZIqe5UsN39ynL07rc0UEavwRjruxF0DQ2pk2Rp75TS OIRKOv2Ny5MHeU8ljIjQnqPNXTrz3jw6Q40I7IECF9Wwlj0+939u1hrQiYYChDbDis5qHc 04M3VUgebftK1TZWpW8y8jq3mJHJQ38= X-Stat-Signature: zs8ix8p1nrj5xp1wyxjc4dmcszm1xgex X-Rspamd-Queue-Id: A1F341800E7 X-Rspam-User: Authentication-Results: imf16.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=lCWbvhCk; spf=pass (imf16.hostedemail.com: domain of lkp@intel.com designates 192.55.52.88 as permitted sender) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam04 X-HE-Tag: 1659258783-360615 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: ee73f14ee9eb7e1a04051b303b56130c4dd6e048 [11178/13542] irqchip: Add Loongson PCH LPC controller support config: loongarch-randconfig-s041-20220731 (https://download.01.org/0day-ci/archive/20220731/202207311732.ovnvUbo2-lkp@intel.com/config) compiler: loongarch64-linux-gcc (GCC) 12.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=ee73f14ee9eb7e1a04051b303b56130c4dd6e048 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 ee73f14ee9eb7e1a04051b303b56130c4dd6e048 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=loongarch SHELL=/bin/bash drivers/irqchip/ kernel/entry/ kernel/trace/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from include/linux/io.h:13, from include/linux/irq.h:20, from arch/loongarch/include/asm/hardirq.h:10, from include/linux/hardirq.h:11, from include/linux/interrupt.h:11, from drivers/irqchip/irq-loongson-pch-lpc.c:10: drivers/irqchip/irq-loongson-pch-lpc.c: In function 'pch_lpc_acpi_init': >> drivers/irqchip/irq-loongson-pch-lpc.c:164:41: error: invalid use of undefined type 'struct acpi_madt_lpc_pic' 164 | priv->base = ioremap(acpi_pchlpc->address, acpi_pchlpc->size); | ^~ arch/loongarch/include/asm/io.h:70:23: note: in definition of macro 'ioremap' 70 | ioremap_prot((offset), (size), _CACHE_SUC) | ^~~~~~ drivers/irqchip/irq-loongson-pch-lpc.c:164:63: error: invalid use of undefined type 'struct acpi_madt_lpc_pic' 164 | priv->base = ioremap(acpi_pchlpc->address, acpi_pchlpc->size); | ^~ arch/loongarch/include/asm/io.h:70:33: note: in definition of macro 'ioremap' 70 | ioremap_prot((offset), (size), _CACHE_SUC) | ^~~~ drivers/irqchip/irq-loongson-pch-lpc.c:188:38: error: invalid use of undefined type 'struct acpi_madt_lpc_pic' 188 | fwspec.param[0] = acpi_pchlpc->cascade + GSI_MIN_PCH_IRQ; | ^~ vim +164 drivers/irqchip/irq-loongson-pch-lpc.c 149 150 int __init pch_lpc_acpi_init(struct irq_domain *parent, 151 struct acpi_madt_lpc_pic *acpi_pchlpc) 152 { 153 int parent_irq; 154 struct pch_lpc *priv; 155 struct irq_fwspec fwspec; 156 struct fwnode_handle *irq_handle; 157 158 priv = kzalloc(sizeof(*priv), GFP_KERNEL); 159 if (!priv) 160 return -ENOMEM; 161 162 raw_spin_lock_init(&priv->lpc_lock); 163 > 164 priv->base = ioremap(acpi_pchlpc->address, acpi_pchlpc->size); -- 0-DAY CI Kernel Test Service https://01.org/lkp