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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B15EC77B76 for ; Fri, 21 Apr 2023 23:11:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MwKmkzVoVy5+Ns9fRcJwbJR3WSBOaq9HkGAbEgC6WuY=; b=0kBJEeqNjlerKs 9VoMGeZABtAN9bDTJCJv5YhvL94s9sR9DKklp4EmDoGpiM1AoGjapjLVNTpD6zYgcKG2UZqRqRFvO ljuYsED5PKpYCah1MEB9eNgaRxPBELaVq4h67J4CRCN2XcdIs8GPZLOUUOol8xBALD4CTOLKbBOmW yuPAEet3GanY6YRHWoSc2efdjCBLmavIgZwhLZtB+nWbW2/0MmV7CjsWLKInpI4LC4l2uHMatiW98 6WEU3d4hhNUMre6ZaWPYVsm1peKpT03EE6Y0k59AemyPL3xjrVlUMZy9ICr80Ez39NkiSxJs2rX+g eG7dK+LZWeQzD1cL5Y/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ppztm-00C2Vh-0s; Fri, 21 Apr 2023 23:10:38 +0000 Received: from mga04.intel.com ([192.55.52.120]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ppztj-00C2Uu-1t for linux-arm-kernel@lists.infradead.org; Fri, 21 Apr 2023 23:10:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682118635; x=1713654635; h=date:from:to:cc:subject:message-id:mime-version; bh=AeMCU1VdJN6n8JbXpS46SG3K4ExjDEd2Yo6i3Dcholk=; b=eZLzKA9dUbKmgq+aquQxyg5B3vc6aYFVGm+EM59cug4k446IuSWGpniD uZUwaZOA9RGUD6HRdS0FXiRso7vY4B+9TW0pUUOGeIR6Nm10m4hwrK+GC BnuOobgii3VbixOp3JTa2B+rY24AdiKjpDX6px6ilT14yPx12M6jOXblH 60439yu2c9KMHBEMFHSfM+AWwHy46rpIM3FU5swEKMhvyn7dfG8nR0yPD CW8xZMP9YGcUXewgq9YUtpTZJvK4NiKnTweFMGO2wMrdlbQ643LLYvgjs y0RXWl6MIHuf2R5AE8J5fiKysgY1h+IuXs39jpo6g4zV03f/E2FN40HsC g==; X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="344852138" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="344852138" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 16:10:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10687"; a="692419087" X-IronPort-AV: E=Sophos;i="5.99,216,1677571200"; d="scan'208";a="692419087" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 21 Apr 2023 16:10:27 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1ppzta-000guS-1g; Fri, 21 Apr 2023 23:10:26 +0000 Date: Sat, 22 Apr 2023 07:09:28 +0800 From: kernel test robot To: Anirudha Sarangi Cc: oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Michal Simek , Mubin Usman Sayyed , Radhey Shyam Pandey Subject: [xilinx-xlnx:master 630/1117] drivers/irqchip/irq-imx-mu-msi.c:448:61: error: macro "IRQCHIP_PLATFORM_DRIVER_END" passed 2 arguments, but takes just 1 Message-ID: <202304220710.GNpos53u-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230421_161035_695005_8ACE6335 X-CRM114-Status: GOOD ( 12.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Anirudha, FYI, the error/warning still remains. tree: https://github.com/Xilinx/linux-xlnx master head: 3a2a9dcee70777a85b3952269c47e6eb65779b78 commit: f0c00c48640d9c9fe887834dbb179941773d164a [630/1117] irqchip: xilinx: Add support to remove Xilinx INTC irqchip driver module config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20230422/202304220710.GNpos53u-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 12.1.0 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 # https://github.com/Xilinx/linux-xlnx/commit/f0c00c48640d9c9fe887834dbb179941773d164a git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xilinx-xlnx master git checkout f0c00c48640d9c9fe887834dbb179941773d164a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash drivers/irqchip/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304220710.GNpos53u-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/irqchip/irq-imx-mu-msi.c:448:61: error: macro "IRQCHIP_PLATFORM_DRIVER_END" passed 2 arguments, but takes just 1 448 | IRQCHIP_PLATFORM_DRIVER_END(imx_mu_msi, .pm = &imx_mu_pm_ops) | ^ In file included from drivers/irqchip/irq-imx-mu-msi.c:15: include/linux/irqchip.h:68: note: macro "IRQCHIP_PLATFORM_DRIVER_END" defined here 68 | #define IRQCHIP_PLATFORM_DRIVER_END(drv_name) \ | >> drivers/irqchip/irq-imx-mu-msi.c:448:1: error: 'IRQCHIP_PLATFORM_DRIVER_END' undeclared here (not in a function) 448 | IRQCHIP_PLATFORM_DRIVER_END(imx_mu_msi, .pm = &imx_mu_pm_ops) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/linux/module.h:22, from include/linux/device/driver.h:21, from include/linux/device.h:32, from include/linux/acpi.h:15, from include/linux/irqchip.h:14: >> include/linux/moduleparam.h:24:9: error: expected '}' before 'static' 24 | static const char __UNIQUE_ID(name)[] \ | ^~~~~~ include/linux/module.h:165:32: note: in expansion of macro '__MODULE_INFO' 165 | #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) | ^~~~~~~~~~~~~ include/linux/module.h:235:32: note: in expansion of macro 'MODULE_INFO' 235 | #define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) | ^~~~~~~~~~~ drivers/irqchip/irq-imx-mu-msi.c:451:1: note: in expansion of macro 'MODULE_AUTHOR' 451 | MODULE_AUTHOR("Frank Li "); | ^~~~~~~~~~~~~ include/linux/irqchip.h:45:69: note: to match this '{' 45 | static const struct of_device_id drv_name##_irqchip_match_table[] = { | ^ drivers/irqchip/irq-imx-mu-msi.c:444:1: note: in expansion of macro 'IRQCHIP_PLATFORM_DRIVER_BEGIN' 444 | IRQCHIP_PLATFORM_DRIVER_BEGIN(imx_mu_msi) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/irqchip/irq-imx-mu-msi.c:444:31: warning: 'imx_mu_msi_irqchip_match_table' defined but not used [-Wunused-const-variable=] 444 | IRQCHIP_PLATFORM_DRIVER_BEGIN(imx_mu_msi) | ^~~~~~~~~~ include/linux/irqchip.h:45:34: note: in definition of macro 'IRQCHIP_PLATFORM_DRIVER_BEGIN' 45 | static const struct of_device_id drv_name##_irqchip_match_table[] = { | ^~~~~~~~ drivers/irqchip/irq-imx-mu-msi.c:421:32: warning: 'imx_mu_pm_ops' defined but not used [-Wunused-const-variable=] 421 | static const struct dev_pm_ops imx_mu_pm_ops = { | ^~~~~~~~~~~~~ vim +/IRQCHIP_PLATFORM_DRIVER_END +448 drivers/irqchip/irq-imx-mu-msi.c 70afdab904d2d1 Frank Li 2022-09-22 443 70afdab904d2d1 Frank Li 2022-09-22 444 IRQCHIP_PLATFORM_DRIVER_BEGIN(imx_mu_msi) 70afdab904d2d1 Frank Li 2022-09-22 445 IRQCHIP_MATCH("fsl,imx7ulp-mu-msi", imx_mu_imx7ulp_of_init) 70afdab904d2d1 Frank Li 2022-09-22 446 IRQCHIP_MATCH("fsl,imx6sx-mu-msi", imx_mu_imx6sx_of_init) 70afdab904d2d1 Frank Li 2022-09-22 447 IRQCHIP_MATCH("fsl,imx8ulp-mu-msi", imx_mu_imx8ulp_of_init) 70afdab904d2d1 Frank Li 2022-09-22 @448 IRQCHIP_PLATFORM_DRIVER_END(imx_mu_msi, .pm = &imx_mu_pm_ops) 70afdab904d2d1 Frank Li 2022-09-22 449 70afdab904d2d1 Frank Li 2022-09-22 450 :::::: The code at line 448 was first introduced by commit :::::: 70afdab904d2d1e68bffe75fe08e7e48e0b0ff8e irqchip: Add IMX MU MSI controller driver :::::: TO: Frank Li :::::: CC: Marc Zyngier -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel