netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net:master 6/7] mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register'
@ 2012-10-09 23:28 Fengguang Wu
  2012-10-10  1:36 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-09 23:28 UTC (permalink / raw)
  To: Mark Brown; +Cc: netdev

Hi Mark,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master
head:   5175a5e76bbdf20a614fb47ce7a38f0f39e70226
commit: 4085a7f0a09c73ef3e9de113c9f04d78c79be645 [6/7] netdev/phy: Prototype of_mdio_find_bus()
config: i386-allyesconfig

All error/warnings:

drivers/net/phy/mdio-gpio.o: In function `of_mdiobus_register':
mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register'
drivers/net/phy/libphy.o:(.text+0x23d7): first defined here
drivers/net/phy/mdio-gpio.o: In function `of_phy_find_device':
mdio-gpio.c:(.text+0x67): multiple definition of `of_phy_find_device'
drivers/net/phy/libphy.o:(.text+0x23e6): first defined here
drivers/net/phy/mdio-gpio.o: In function `of_phy_connect':
mdio-gpio.c:(.text+0x73): multiple definition of `of_phy_connect'
drivers/net/phy/libphy.o:(.text+0x23f2): first defined here
drivers/net/phy/mdio-gpio.o: In function `of_phy_connect_fixed_link':
mdio-gpio.c:(.text+0x7f): multiple definition of `of_phy_connect_fixed_link'
drivers/net/phy/libphy.o:(.text+0x23fe): first defined here
drivers/net/phy/mdio-gpio.o: In function `of_mdio_find_bus':
mdio-gpio.c:(.text+0x8b): multiple definition of `of_mdio_find_bus'
drivers/net/phy/libphy.o:(.text+0x240a): first defined here

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [net:master 6/7] mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register'
  2012-10-09 23:28 [net:master 6/7] mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register' Fengguang Wu
@ 2012-10-10  1:36 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-10-10  1:36 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: netdev

On Wed, Oct 10, 2012 at 07:28:18AM +0800, Fengguang Wu wrote:
> Hi Mark,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master
> head:   5175a5e76bbdf20a614fb47ce7a38f0f39e70226
> commit: 4085a7f0a09c73ef3e9de113c9f04d78c79be645 [6/7] netdev/phy: Prototype of_mdio_find_bus()
> config: i386-allyesconfig
> 
> All error/warnings:
> 
> drivers/net/phy/mdio-gpio.o: In function `of_mdiobus_register':
> mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register'
> drivers/net/phy/libphy.o:(.text+0x23d7): first defined here
> drivers/net/phy/mdio-gpio.o: In function `of_phy_find_device':

Hrm, I can't see how that would occur due to this patch unless
!CONFIG_OF is selected which I wouldn't expect from allyesconfig, the
!CONFIG_OF stubs in the header are buggy as they aren't static.  There
is a bug there, though - I'll send a patch for that.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-10  1:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 23:28 [net:master 6/7] mdio-gpio.c:(.text+0x58): multiple definition of `of_mdiobus_register' Fengguang Wu
2012-10-10  1:36 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).