Devicetree
 help / color / mirror / Atom feed
From: kbuild test robot <lkp-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kbuild-all-JC7UmRfGjtg@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	andrew-g2DYL2Zd6BY@public.gmane.org,
	vivien.didelot-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.org,
	Florian Fainelli
	<f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Frank Rowand
	<frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] of: Make of_match_node() an inline stub for CONFIG_OF=n
Date: Fri, 7 Apr 2017 15:49:40 +0800	[thread overview]
Message-ID: <201704071557.aYWVhGJs%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170406193224.10046-1-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

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

Hi Florian,

[auto build test ERROR on v4.9-rc8]
[also build test ERROR on next-20170406]
[cannot apply to glikely/devicetree/next]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Florian-Fainelli/of-Make-of_match_node-an-inline-stub-for-CONFIG_OF-n/20170407-111805
config: x86_64-randconfig-ne0-04071359 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers//mfd/max8998.c: In function 'max8998_i2c_get_driver_data':
>> drivers//mfd/max8998.c:174:25: error: 'max8998_dt_match' undeclared (first use in this function)
      match = of_match_node(max8998_dt_match, i2c->dev.of_node);
                            ^~~~~~~~~~~~~~~~
   drivers//mfd/max8998.c:174:25: note: each undeclared identifier is reported only once for each function it appears in

vim +/max8998_dt_match +174 drivers//mfd/max8998.c

ee999fb3 Tomasz Figa   2013-06-25  158  
ee999fb3 Tomasz Figa   2013-06-25  159  	pd->ono = irq_of_parse_and_map(dev->of_node, 1);
ee999fb3 Tomasz Figa   2013-06-25  160  
ee999fb3 Tomasz Figa   2013-06-25  161  	/*
ee999fb3 Tomasz Figa   2013-06-25  162  	 * ToDo: the 'wakeup' member in the platform data is more of a linux
ee999fb3 Tomasz Figa   2013-06-25  163  	 * specfic information. Hence, there is no binding for that yet and
ee999fb3 Tomasz Figa   2013-06-25  164  	 * not parsed here.
ee999fb3 Tomasz Figa   2013-06-25  165  	 */
ee999fb3 Tomasz Figa   2013-06-25  166  	return pd;
ee999fb3 Tomasz Figa   2013-06-25  167  }
ee999fb3 Tomasz Figa   2013-06-25  168  
8bace2d5 Lee Jones     2014-02-03  169  static inline unsigned long max8998_i2c_get_driver_data(struct i2c_client *i2c,
ee999fb3 Tomasz Figa   2013-06-25  170  						const struct i2c_device_id *id)
ee999fb3 Tomasz Figa   2013-06-25  171  {
ee999fb3 Tomasz Figa   2013-06-25  172  	if (IS_ENABLED(CONFIG_OF) && i2c->dev.of_node) {
ee999fb3 Tomasz Figa   2013-06-25  173  		const struct of_device_id *match;
ee999fb3 Tomasz Figa   2013-06-25 @174  		match = of_match_node(max8998_dt_match, i2c->dev.of_node);
8bace2d5 Lee Jones     2014-02-03  175  		return (unsigned long)match->data;
ee999fb3 Tomasz Figa   2013-06-25  176  	}
ee999fb3 Tomasz Figa   2013-06-25  177  
8bace2d5 Lee Jones     2014-02-03  178  	return id->driver_data;
ee999fb3 Tomasz Figa   2013-06-25  179  }
ee999fb3 Tomasz Figa   2013-06-25  180  
156f2528 Kyungmin Park 2010-06-16  181  static int max8998_i2c_probe(struct i2c_client *i2c,
156f2528 Kyungmin Park 2010-06-16  182  			    const struct i2c_device_id *id)

:::::: The code at line 174 was first introduced by commit
:::::: ee999fb3f17faa3af6028bf7130707fe0d4157a4 mfd: max8998: Add support for Device Tree

:::::: TO: Tomasz Figa <t.figa-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
:::::: CC: Samuel Ortiz <sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

      parent reply	other threads:[~2017-04-07  7:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06 19:32 [PATCH] of: Make of_match_node() an inline stub for CONFIG_OF=n Florian Fainelli
     [not found] ` <20170406193224.10046-1-f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-04-06 19:54   ` Andrew Lunn
2017-04-07  6:58   ` kbuild test robot
2017-04-07  7:49   ` kbuild test robot [this message]

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=201704071557.aYWVhGJs%fengguang.wu@intel.com \
    --to=lkp-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=andrew-g2DYL2Zd6BY@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kbuild-all-JC7UmRfGjtg@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=vivien.didelot-4ysUXcep3aM1wj+D4I0NRVaTQe2KTcn/@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox