lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 9 Oct 2017 03:23:27 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Artur Lorincz <larturus2@...il.com>
Cc:     kbuild-all@...org, robh@...nel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, larturus@...oo.com,
        Artur Lorincz <larturus2@...il.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).

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

Download attachment ".config.gz" of type "application/gzip" (27524 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ