[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510191737.ufAp63BH%fengguang.wu@intel.com>
Date: Mon, 19 Oct 2015 17:29:33 +0800
From: kbuild test robot <lkp@...el.com>
To: Ley Foon Tan <lftan@...era.com>
Cc: kbuild-all@...org, Bjorn Helgaas <bhelgaas@...gle.com>,
Russell King <linux@....linux.org.uk>,
Marc Zyngier <marc.zyngier@....com>,
Arnd Bergmann <arnd@...db.de>,
Dinh Nguyen <dinguyen@...nsource.altera.com>,
linux-pci@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Ley Foon Tan <lftan@...era.com>,
lftan.linux@...il.com, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>
Subject: Re: [PATCH v10 3/6] pci:host: Add Altera PCIe host controller driver
Hi Ley,
[auto build test WARNING on pci/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Ley-Foon-Tan/arm-add-msi-h-to-Kbuild/20151019-162417
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/pci/host/pcie-altera.c:117:6: sparse: symbol 'altera_pcie_fixups' was not declared. Should it be static?
drivers/pci/host/pcie-altera.c:496:53: sparse: incorrect type in argument 2 (incompatible argument 1 (different base types))
drivers/pci/host/pcie-altera.c:496:53: expected void ( *[usertype] handle )( ... )
drivers/pci/host/pcie-altera.c:496:53: got void ( static [toplevel] *<noident> )( ... )
drivers/pci/host/pcie-altera.c: In function 'altera_pcie_parse_dt':
drivers/pci/host/pcie-altera.c:496:46: warning: passing argument 2 of 'irq_set_chained_handler_and_data' from incompatible pointer type [-Wincompatible-pointer-types]
irq_set_chained_handler_and_data(pcie->irq, altera_pcie_isr, pcie);
^
In file included from arch/x86/include/asm/hardirq.h:5:0,
from include/linux/hardirq.h:8,
from include/linux/interrupt.h:12,
from drivers/pci/host/pcie-altera.c:17:
include/linux/irq.h:545:1: note: expected 'irq_flow_handler_t {aka void (*)(unsigned int, struct irq_desc *)}' but argument is of type 'void (*)(struct irq_desc *)'
irq_set_chained_handler_and_data(unsigned int irq, irq_flow_handler_t handle,
^
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists