Re: linux-next: build warning after merge of the net-next tree

From: Heiner Kallweit
Date: Mon Dec 04 2017 - 01:34:21 EST


Am 04.12.2017 um 01:02 schrieb Stephen Rothwell:
> Hi all,
>
> After merging the net-next tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/net/phy/broadcom.c:391:12: warning: 'bcm5482_read_status' defined but not used [-Wunused-function]
> static int bcm5482_read_status(struct phy_device *phydev)
> ^
> drivers/net/phy/broadcom.c:411:12: warning: 'bcm5481_config_aneg' defined but not used [-Wunused-function]
> static int bcm5481_config_aneg(struct phy_device *phydev)
> ^
>
> Introduced by commit
>
> 80274abafc60 ("net: phy: remove generic settings for callbacks config_aneg and read_status from drivers")
>
This issue has been addressed addressed already, see this patch:
https://marc.info/?l=linux-netdev&m=151220825402398&w=2

Rgds, Heiner