tree:
https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git
for-review/acpi-iort-id-rework
head: 4582b00b57ab0807e87d54621173a29352109551
commit: b5e9dd56ea850bb71fb0532c7d4be9d5e82132e6 [8/11] of/irq: make
of_msi_map_get_device_domain bus agnostic
config: i386-defconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout b5e9dd56ea850bb71fb0532c7d4be9d5e82132e6
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from drivers/pci/msi.c:25:0:
> include/linux/of_irq.h:89:1: error: expected identifier or
'(' before '{' token
{
^
> include/linux/of_irq.h:87:34: warning:
'of_msi_map_get_device_domain' used but never defined
static inline struct
irq_domain *of_msi_map_get_device_domain(struct device *dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/base/platform.c:15:0:
> include/linux/of_irq.h:89:1: error: expected identifier or
'(' before '{' token
{
^
In file included from drivers/base/platform.c:15:0:
include/linux/of_irq.h:87:34: warning: 'of_msi_map_get_device_domain' declared
'static' but never defined [-Wunused-function]
static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +89 include/linux/of_irq.h
4c3141e09cfa64 Carlo Caione 2015-12-01 80
48ae34fb39b0c0 Marc Zyngier 2015-09-18 81 static inline struct irq_domain
*of_msi_get_domain(struct device *dev,
48ae34fb39b0c0 Marc Zyngier 2015-09-18 82 struct device_node *np,
48ae34fb39b0c0 Marc Zyngier 2015-09-18 83 enum irq_domain_bus_token token)
48ae34fb39b0c0 Marc Zyngier 2015-09-18 84 {
48ae34fb39b0c0 Marc Zyngier 2015-09-18 85 return NULL;
48ae34fb39b0c0 Marc Zyngier 2015-09-18 86 }
82b9b4243c6d99 Marc Zyngier 2015-10-02 @87 static inline struct irq_domain
*of_msi_map_get_device_domain(struct device *dev,
b5e9dd56ea850b Diana Craciun 2020-04-29 88 u32 id, u32 bus_token);
82b9b4243c6d99 Marc Zyngier 2015-10-02 @89 {
82b9b4243c6d99 Marc Zyngier 2015-10-02 90 return NULL;
82b9b4243c6d99 Marc Zyngier 2015-10-02 91 }
f9f9f11dcf0f3b Jonas Gorski 2015-10-12 92 static inline void of_msi_configure(struct
device *dev, struct device_node *np)
f9f9f11dcf0f3b Jonas Gorski 2015-10-12 93 {
f9f9f11dcf0f3b Jonas Gorski 2015-10-12 94 }
eaddb5725357e9 Rob Herring 2015-12-09 95 static inline u32 of_msi_map_rid(struct
device *dev,
eaddb5725357e9 Rob Herring 2015-12-09 96 struct device_node *msi_np, u32
rid_in)
eaddb5725357e9 Rob Herring 2015-12-09 97 {
eaddb5725357e9 Rob Herring 2015-12-09 98 return rid_in;
eaddb5725357e9 Rob Herring 2015-12-09 99 }
a8d3f362f52b65 Rob Herring 2013-11-07 100 #endif
a8d3f362f52b65 Rob Herring 2013-11-07 101
:::::: The code at line 89 was first introduced by commit
:::::: 82b9b4243c6d99d9e38087fa89183aa7479185e9 of/irq: Use the msi-map property to
provide device-specific MSI domain
:::::: TO: Marc Zyngier <marc.zyngier(a)arm.com>
:::::: CC: Marc Zyngier <marc.zyngier(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org