Modify

Opened 23 months ago

Closed 22 months ago

Last modified 21 months ago

#22112 closed defect (invalid)

b53_phy_fixup.c fails to compile under kernel 4.5

Reported by: mo.ucina@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: Cc:

Description

In kernel 4.5 b53_phy_fixup.c fails to compile with following errors :

drivers/net/phy/b53/b53_phy_fixup.c: In function 'b53_phy_fixup':
drivers/net/phy/b53/b53_phy_fixup.c:32:27: error: 'struct phy_device' has no member named 'bus'

struct mii_bus *bus = dev->bus;


drivers/net/phy/b53/b53_phy_fixup.c:34:9: error: 'struct phy_device' has no member named 'addr'

if (dev->addr != B53_PSEUDO_PHY)


scripts/Makefile.build:258: recipe for target 'drivers/net/phy/b53/b53_phy_fixup.o' failed
make[4]: * [drivers/net/phy/b53/b53_phy_fixup.o] Error 1
scripts/Makefile.build:407: recipe for target 'drivers/net/phy/b53' failed
make[3]:
* [drivers/net/phy/b53] Error 2
scripts/Makefile.build:407: recipe for target 'drivers/net/phy' failed
make[2]: * [drivers/net/phy] Error 2
scripts/Makefile.build:407: recipe for target 'drivers/net' failed
make[1]:
* [drivers/net] Error 2
make[1]: * Waiting for unfinished jobs....
Makefile:954: recipe for target 'drivers' failed
make:
* [drivers] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.47Zx5K (%build)

Attachments (0)

Change History (2)

comment:1 Changed 22 months ago by rmilecki

  • Resolution set to invalid
  • Status changed from new to closed

There is no 4.5 support.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.