[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180221144619.GB29204@lunn.ch>
Date: Wed, 21 Feb 2018 15:46:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...org, David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>, rmk@...linux.org.uk,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Subject: Re: [PATCH net-next] net: dsa: mv88e6xxx: scratch registers and
external MDIO pins
On Wed, Feb 21, 2018 at 05:40:29PM +0800, kbuild test robot wrote:
> Hi Andrew,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on net-next/master]
>
> url: https://github.com/0day-ci/linux/commits/Andrew-Lunn/net-dsa-mv88e6xxx-scratch-registers-and-external-MDIO-pins/20180221-150325
> config: i386-randconfig-i0-201807 (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All errors (new ones prefixed by >>):
>
> drivers/net/dsa/mv88e6xxx/serdes.o: In function `mv88e6xxx_g2_scratch_gpio_set_ext_smi':
> >> drivers/net/dsa/mv88e6xxx/global2.h:478: multiple definition of `mv88e6xxx_g2_scratch_gpio_set_ext_smi'
> drivers/net/dsa/mv88e6xxx/chip.o:drivers/net/dsa/mv88e6xxx/global2.h:478: first defined here
>
> vim +478 drivers/net/dsa/mv88e6xxx/global2.h
>
> 475
> 476 int mv88e6xxx_g2_scratch_gpio_set_ext_smi(struct mv88e6xxx_chip *chip,
> 477 bool external)
> > 478 {
> 479 return -EOPNOTSUPP;
> 480 }
The stub function needs to be inline. I will fix up in v2.
Andrew
Powered by blists - more mailing lists