All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [lpieralisi:for-review/acpi-iort-id-rework 8/12] include/linux/of_irq.h:87:34: error: 'of_msi_map_get_device_domain' declared 'static' but never defined
Date: Wed, 20 May 2020 05:54:43 +0800	[thread overview]
Message-ID: <202005200536.35CSvqB5%lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3365 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: 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@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@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: 62548 bytes --]

                 reply	other threads:[~2020-05-19 21:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005200536.35CSvqB5%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.