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 CB30AC433F5 for ; Wed, 9 Feb 2022 21:49:29 +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=yQOorKm/QJh4eHuJDdfeB4ocvt2TiRWncWyS42gLXJM=; b=KyZEyjRSM81xgI Dlz/l/HJ9Co4iSZKh9IbOcXfXaiNbTT4Y3CNnLGMRMMSGuwgB9qgPbDVWxWsAwAp97YcARSSMURjw SGxKZ8ssrpvkE+pPy0JX/xurGztR42OzMd4PKkG3a1xG5JYeDYHi3NUY6Hj0Y761hBhI0QJiRY8Yp qo7qgiveTwFVNf1v38IeeXB/Wv+ukPMYokjQEqU0qg2VVw1FPErPc5b0bmK93JHOtWHnFmw2Krkj6 8J8znsiOPAB6u7qjDqo6yMNjSmXgc9a/MiRD84NmH7scvib1tGIQga9tV+ZULI5ZhXHAcVaG8vIkJ XaaU/Skz/CFHJ++sA9/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHup1-001i2U-UJ; Wed, 09 Feb 2022 21:48:20 +0000 Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHuox-001i0w-8f for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 21:48:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644443295; x=1675979295; h=date:from:to:cc:subject:message-id:mime-version; bh=l+Oc4r+ckGkqXPh3wo6/2uVeUmF+fojGIKtyCBWJAOY=; b=kB/Hi6eO/Ww8chSzvdaiy+UsC36fkuUKmJJ0BqeI3lj9W5Z7aeAjkFa/ tQXhYNKSR/SAcPrumaTT4j8gl0QDBvN/7gSlTy5qQlCfZhMJ2+XtgFxkd xf/QVvDDu13EFWNrbYX6vTy0C31p7gtteMjvZFDy6Vpfg7B63fWxWKbLe rRCaE8DSfgs7rSnVR4F6hWA9zaetFXmVVzTlRp1U8k48Az16KfDUb+UYo e1fWsEM3v72iiIHkhzOzd9qBXYSxUBLdTfmaHjOv8780jlyyFsLwjB/9q rQ2B8afMdIdAp1Ai+/K+xibg19iPTfLaQ+lWuYZM+JUFHtIdC6BqTMP2o w==; X-IronPort-AV: E=McAfee;i="6200,9189,10253"; a="229316690" X-IronPort-AV: E=Sophos;i="5.88,356,1635231600"; d="scan'208";a="229316690" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 13:48:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,356,1635231600"; d="scan'208";a="701426008" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 09 Feb 2022 13:48:12 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nHuot-0002JK-Ap; Wed, 09 Feb 2022 21:48:11 +0000 Date: Thu, 10 Feb 2022 05:47:51 +0800 From: kernel test robot To: Marc Zyngier Cc: kbuild-all@lists.01.org, linux-arm-kernel@lists.infradead.org Subject: [arm-platforms:irq/print_chip 13/22] kernel/irq/irqdomain.c:1856:6: error: conflicting types for 'irq_domain_set_info'; have 'void(struct irq_domain *, unsigned int, irq_hw_number_t, struct irq_chip *, void *, void (*)(struct irq_desc *), void *, const char *)' {aka 'void(struct irq_domain... Message-ID: <202202100525.0ui0AXjQ-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_134815_362492_0A6D50C7 X-CRM114-Status: GOOD ( 12.65 ) 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 tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/print_chip head: 409b7f9b2b99f333673f8d0f8bc960b524af3793 commit: a6b49900e62e91b7cad03024fb78f5373d9a0b8e [13/22] irqdomain: Let irq_domain_set_{info,hwirq_and_chip} take a const irq_chip config: nds32-allnoconfig (https://download.01.org/0day-ci/archive/20220210/202202100525.0ui0AXjQ-lkp@intel.com/config) compiler: nds32le-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=a6b49900e62e91b7cad03024fb78f5373d9a0b8e git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git git fetch --no-tags arm-platforms irq/print_chip git checkout a6b49900e62e91b7cad03024fb78f5373d9a0b8e # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nds32 SHELL=/bin/bash kernel/irq/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> kernel/irq/irqdomain.c:1856:6: error: conflicting types for 'irq_domain_set_info'; have 'void(struct irq_domain *, unsigned int, irq_hw_number_t, struct irq_chip *, void *, void (*)(struct irq_desc *), void *, const char *)' {aka 'void(struct irq_domain *, unsigned int, long unsigned int, struct irq_chip *, void *, void (*)(struct irq_desc *), void *, const char *)'} 1856 | void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, | ^~~~~~~~~~~~~~~~~~~ In file included from include/linux/acpi.h:13, from kernel/irq/irqdomain.c:5: include/linux/irqdomain.h:481:13: note: previous declaration of 'irq_domain_set_info' with type 'void(struct irq_domain *, unsigned int, irq_hw_number_t, const struct irq_chip *, void *, void (*)(struct irq_desc *), void *, const char *)' {aka 'void(struct irq_domain *, unsigned int, long unsigned int, const struct irq_chip *, void *, void (*)(struct irq_desc *), void *, const char *)'} 481 | extern void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, | ^~~~~~~~~~~~~~~~~~~ vim +1856 kernel/irq/irqdomain.c f8264e34965aaf Jiang Liu 2014-11-06 1844 5f22f5c668204f Stefan Agner 2015-05-16 1845 /** 5f22f5c668204f Stefan Agner 2015-05-16 1846 * irq_domain_set_info - Set the complete data for a @virq in @domain 5f22f5c668204f Stefan Agner 2015-05-16 1847 * @domain: Interrupt domain to match 5f22f5c668204f Stefan Agner 2015-05-16 1848 * @virq: IRQ number 5f22f5c668204f Stefan Agner 2015-05-16 1849 * @hwirq: The hardware interrupt number 5f22f5c668204f Stefan Agner 2015-05-16 1850 * @chip: The associated interrupt chip 5f22f5c668204f Stefan Agner 2015-05-16 1851 * @chip_data: The associated interrupt chip data 5f22f5c668204f Stefan Agner 2015-05-16 1852 * @handler: The interrupt flow handler 5f22f5c668204f Stefan Agner 2015-05-16 1853 * @handler_data: The interrupt flow handler data 5f22f5c668204f Stefan Agner 2015-05-16 1854 * @handler_name: The interrupt handler name 5f22f5c668204f Stefan Agner 2015-05-16 1855 */ 5f22f5c668204f Stefan Agner 2015-05-16 @1856 void irq_domain_set_info(struct irq_domain *domain, unsigned int virq, 5f22f5c668204f Stefan Agner 2015-05-16 1857 irq_hw_number_t hwirq, struct irq_chip *chip, 5f22f5c668204f Stefan Agner 2015-05-16 1858 void *chip_data, irq_flow_handler_t handler, 5f22f5c668204f Stefan Agner 2015-05-16 1859 void *handler_data, const char *handler_name) 5f22f5c668204f Stefan Agner 2015-05-16 1860 { 5f22f5c668204f Stefan Agner 2015-05-16 1861 irq_set_chip_and_handler_name(virq, chip, handler, handler_name); 5f22f5c668204f Stefan Agner 2015-05-16 1862 irq_set_chip_data(virq, chip_data); 5f22f5c668204f Stefan Agner 2015-05-16 1863 irq_set_handler_data(virq, handler_data); 5f22f5c668204f Stefan Agner 2015-05-16 1864 } 5f22f5c668204f Stefan Agner 2015-05-16 1865 :::::: The code at line 1856 was first introduced by commit :::::: 5f22f5c668204f3af7557018b2ad6cf2074defac irqdomain: Add non-hierarchy helper irq_domain_set_info :::::: TO: Stefan Agner :::::: CC: Thomas Gleixner --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel