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

From: David Miller
Date: Mon Dec 04 2017 - 13:21:37 EST


From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Mon, 4 Dec 2017 11:02:49 +1100

> 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 shoudl be resolved now, thanks for the report.