Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-15052

Can't compile lustre client with kernel 5.11.0.36 (ubuntu 20.04)

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 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) {
            |                           ^~
      

      Attachments

        Activity

          [LU-15052] Can't compile lustre client with kernel 5.11.0.36 (ubuntu 20.04)
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          "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

          gerrit Gerrit Updater added a comment - "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

          "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

          gerrit Gerrit Updater added a comment - "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

          People

            yujian Jian Yu
            yujian Jian Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: