mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Anshuman Gupta <anshexp@gmail.com>
Cc: kbuild-all@01.org, robh+dt@kernel.org, frowand.list@gmail.com,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	anshexp@gmail.com
Subject: Re: [PATCH] populate platform device at late init
Date: Mon, 22 Aug 2016 16:55:20 +0800	[thread overview]
Message-ID: <201608221652.RJnKw2z5%fengguang.wu@intel.com> (raw)
In-Reply-To: <1471546533-3996-1-git-send-email-anshexp@gmail.com>

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

Hi Anshuman,

[auto build test ERROR on v4.8-rc2]
[also build test ERROR on next-20160819]
[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]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Anshuman-Gupta/populate-platform-device-at-late-init/20160819-124221
config: sparc64-allyesconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All error/warnings (new ones prefixed by >>):

   In file included from arch/sparc/include/asm/openprom.h:14:0,
                    from arch/sparc/include/asm/device.h:9,
                    from include/linux/device.h:30,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from drivers/of/base.c:25:
>> include/linux/of.h:327:12: error: conflicting types for 'of_set_property'
    extern int of_set_property(const struct device_node *node,
               ^
   In file included from include/linux/of.h:232:0,
                    from arch/sparc/include/asm/openprom.h:14,
                    from arch/sparc/include/asm/device.h:9,
                    from include/linux/device.h:30,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from drivers/of/base.c:25:
   arch/sparc/include/asm/prom.h:40:5: note: previous declaration of 'of_set_property' was here
    int of_set_property(struct device_node *node, const char *name, void *val, int len);
        ^
>> drivers/of/base.c:321:5: error: conflicting types for 'of_set_property'
    int of_set_property(const struct device_node *np, const char *name,
        ^
   In file included from include/linux/of.h:232:0,
                    from arch/sparc/include/asm/openprom.h:14,
                    from arch/sparc/include/asm/device.h:9,
                    from include/linux/device.h:30,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from drivers/of/base.c:25:
   arch/sparc/include/asm/prom.h:40:5: note: previous declaration of 'of_set_property' was here
    int of_set_property(struct device_node *node, const char *name, void *val, int len);
        ^
   In file included from include/linux/linkage.h:6:0,
                    from include/linux/kernel.h:6,
                    from include/linux/list.h:8,
                    from include/linux/kobject.h:20,
                    from include/linux/device.h:17,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from drivers/of/base.c:25:
   drivers/of/base.c:340:15: error: conflicting types for 'of_set_property'
    EXPORT_SYMBOL(of_set_property);
                  ^
   include/linux/export.h:57:21: note: in definition of macro '___EXPORT_SYMBOL'
     extern typeof(sym) sym;     \
                        ^
>> drivers/of/base.c:340:1: note: in expansion of macro 'EXPORT_SYMBOL'
    EXPORT_SYMBOL(of_set_property);
    ^
   In file included from include/linux/of.h:232:0,
                    from arch/sparc/include/asm/openprom.h:14,
                    from arch/sparc/include/asm/device.h:9,
                    from include/linux/device.h:30,
                    from include/linux/node.h:17,
                    from include/linux/cpu.h:16,
                    from drivers/of/base.c:25:
   arch/sparc/include/asm/prom.h:40:5: note: previous declaration of 'of_set_property' was here
    int of_set_property(struct device_node *node, const char *name, void *val, int len);
        ^
--
   In file included from drivers/of/device.c:3:0:
>> include/linux/of.h:327:12: error: conflicting types for 'of_set_property'
    extern int of_set_property(const struct device_node *node,
               ^
   In file included from include/linux/of.h:232:0,
                    from drivers/of/device.c:3:
   arch/sparc/include/asm/prom.h:40:5: note: previous declaration of 'of_set_property' was here
    int of_set_property(struct device_node *node, const char *name, void *val, int len);
        ^

vim +/of_set_property +327 include/linux/of.h

   321					      const char *const *compat);
   322	extern bool of_device_is_available(const struct device_node *device);
   323	extern bool of_device_is_big_endian(const struct device_node *device);
   324	extern const void *of_get_property(const struct device_node *node,
   325					const char *name,
   326					int *lenp);
 > 327	extern int of_set_property(const struct device_node *node,
   328					const char *name, const void *val,
   329					int len);
   330	extern struct device_node *of_get_cpu_node(int cpu, unsigned int *thread);

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 47053 bytes --]

  parent reply	other threads:[~2016-08-22  8:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-18 18:55 Anshuman Gupta
2016-08-19  0:58 ` Rob Herring
2016-08-25 17:58   ` Anshuman Gupta
2016-08-22  8:55 ` kbuild test robot [this message]
2016-08-22 11:57 ` kbuild test robot

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=201608221652.RJnKw2z5%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=anshexp@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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

all inboxes | Powered by JetHome®