tree:
https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git
for-review/acpi-iort-id-rework
head: b2a8809a420d6d12a92d54c343c360ead32af752
commit: 6b448905a263276e5f0b1f6c677425049c729270 [8/12] of/irq: make
of_msi_map_get_device_domain() bus agnostic
config: sparc-allyesconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 6b448905a263276e5f0b1f6c677425049c729270
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sparc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from arch/sparc/kernel/of_device_common.c:12:
include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{'
token
89 | {
| ^
> include/linux/of_irq.h:87:34: error:
'of_msi_map_get_device_domain' declared 'static' but never defined
[-Werror=unused-function]
87 | static inline struct irq_domain
*of_msi_map_get_device_domain(struct device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +87 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,
6b448905a26327 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 87 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