[LU-15052] Can't compile lustre client with kernel 5.11.0.36 (ubuntu 20.04) Created: 01/Oct/21  Updated: 10/Oct/21  Resolved: 10/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Jian Yu
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The build failed with the following error:

error: dereferencing pointer to incomplete type 'const struct ethtool_ops'
      |  else if (dev->ethtool_ops->get_link) {
      |                           ^~


 Comments   
Comment by Gerrit Updater [ 01/Oct/21 ]

"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/45109
Subject: LU-15052 lnet: check if ethtool.h is included in netdevice.h
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2a8671237bc7bf5e920262865bb64145bdf6abb7

Comment by Gerrit Updater [ 10/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45109/
Subject: LU-15052 lnet: include linux/ethtool.h
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b2503cf65a0cb3583a2f0d53f5044ae6e92b6208

Comment by Peter Jones [ 10/Oct/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:15:02 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.