All of lore.kernel.org
 help / color / mirror / Atom feed
* [lpieralisi:for-review/acpi-iort-id-rework 8/12] include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{' token
@ 2020-05-19 20:53 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-19 20:53 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4395 bytes --]

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: ia64-defconfig (attached as .config)
compiler: ia64-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=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from drivers/base/platform.c:15:
>> include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{' token
89 | {
| ^
drivers/base/platform.c:1336:20: warning: no previous prototype for 'early_platform_cleanup' [-Wmissing-prototypes]
1336 | void __weak __init early_platform_cleanup(void) { }
|                    ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/base/platform.c:15:
include/linux/of_irq.h:87:34: warning: 'of_msi_map_get_device_domain' declared 'static' but never defined [-Wunused-function]
87 | static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
|                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/base/property.c:16:
>> include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{' token
89 | {
| ^
include/linux/of_irq.h:87:34: warning: 'of_msi_map_get_device_domain' declared 'static' but never defined [-Wunused-function]
87 | static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
|                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/pci/msi.c:25:
>> include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{' token
89 | {
| ^
include/linux/of_irq.h:87:34: warning: 'of_msi_map_get_device_domain' used but never defined
87 | 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,
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 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@arm.com>
:::::: CC: Marc Zyngier <marc.zyngier@arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 20091 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-19 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 20:53 [lpieralisi:for-review/acpi-iort-id-rework 8/12] include/linux/of_irq.h:89:1: error: expected identifier or '(' before '{' token kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.