mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Artur Lorincz <larturus2@gmail.com>
Cc: kbuild-all@01.org, robh@kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, larturus@yahoo.com,
	Artur Lorincz <larturus2@gmail.com>
Subject: Re: [PATCH] Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board).
Date: Mon, 9 Oct 2017 03:23:27 +0800	[thread overview]
Message-ID: <201710090225.KdB9RfBh%fengguang.wu@intel.com> (raw)
In-Reply-To: <1507480107-3576-2-git-send-email-larturus2@gmail.com>

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

Hi Artur,

[auto build test ERROR on v4.14-rc3]
[also build test ERROR on next-20170929]
[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/Artur-Lorincz/Added-default-implementation-for-of_find_all_nodes-This-function-is-used-by-board-c-from-the-board-module-drivers-staging-board/20171009-014559
config: i386-randconfig-i1-201741 (attached as .config)
compiler: gcc-4.8 (Debian 4.8.4-1) 4.8.4
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/iio/iio.h:16:0,
                    from drivers/iio/pressure/ms5611_core.c:17:
>> include/linux/of.h:541:35: error: static declaration of 'of_find_all_nodes' follows non-static declaration
    static inline struct device_node *of_find_all_nodes(struct device_node *prev)
                                      ^
   include/linux/of.h:222:28: note: previous declaration of 'of_find_all_nodes' was here
    extern struct device_node *of_find_all_nodes(struct device_node *prev);
                               ^
--
   In file included from drivers//of/base.c:27:0:
>> include/linux/of.h:541:35: error: static declaration of 'of_find_all_nodes' follows non-static declaration
    static inline struct device_node *of_find_all_nodes(struct device_node *prev)
                                      ^
   include/linux/of.h:222:28: note: previous declaration of 'of_find_all_nodes' was here
    extern struct device_node *of_find_all_nodes(struct device_node *prev);
                               ^
>> drivers//of/base.c:280:21: error: redefinition of 'of_find_all_nodes'
    struct device_node *of_find_all_nodes(struct device_node *prev)
                        ^
   In file included from drivers//of/base.c:27:0:
   include/linux/of.h:541:35: note: previous definition of 'of_find_all_nodes' was here
    static inline struct device_node *of_find_all_nodes(struct device_node *prev)
                                      ^
--
   In file included from drivers/of/base.c:27:0:
>> include/linux/of.h:541:35: error: static declaration of 'of_find_all_nodes' follows non-static declaration
    static inline struct device_node *of_find_all_nodes(struct device_node *prev)
                                      ^
   include/linux/of.h:222:28: note: previous declaration of 'of_find_all_nodes' was here
    extern struct device_node *of_find_all_nodes(struct device_node *prev);
                               ^
   drivers/of/base.c:280:21: error: redefinition of 'of_find_all_nodes'
    struct device_node *of_find_all_nodes(struct device_node *prev)
                        ^
   In file included from drivers/of/base.c:27:0:
   include/linux/of.h:541:35: note: previous definition of 'of_find_all_nodes' was here
    static inline struct device_node *of_find_all_nodes(struct device_node *prev)
                                      ^

vim +/of_find_all_nodes +541 include/linux/of.h

   540	
 > 541	static inline struct device_node *of_find_all_nodes(struct device_node *prev)
   542	{
   543		return NULL;
   544	}
   545	

---
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: 27524 bytes --]

  reply	other threads:[~2017-10-08 19:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 18:32 [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-09-24 15:50 ` Artur Lorincz
2017-09-24 15:50   ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-09-24 17:50     ` Frank Rowand
2017-10-06 19:31 ` Artur Lorincz
2017-10-06 19:31   ` [PATCH] default implementation for of_find_all_nodes(...) Artur Lorincz
2017-10-06 22:32 ` Rob Herring
2017-10-08 16:28 ` Artur Lorincz
2017-10-08 16:28   ` [PATCH] Added default implementation for of_find_all_nodes(). This function is used by board.c from the board module (drivers/staging/board) Artur Lorincz
2017-10-08 19:23     ` kbuild test robot [this message]
2017-10-09  1:22     ` Rob Herring

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=201710090225.KdB9RfBh%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@01.org \
    --cc=larturus2@gmail.com \
    --cc=larturus@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.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

Powered by JetHome