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

build fixes for newer gcc/kernel with -Werror=missing-prototypes

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      ptlrpc:

      lustre/ptlrpc/nodemap_range.c:271:6: error: no previous prototype for ‘__range_delete’ [-Werror=missing-prototypes]
        271 | void __range_delete(struct nodemap_range_tree *nm_range_tree,
            |      ^~~~~~~~~~~~~~
      

      ofd:

      lustre/ofd/ofd_oss.c:430:5: error: no previous prototype for ‘oss_mod_init’ [-Werror=missing-prototypes]
        430 | int oss_mod_init(void)
            |     ^~~~~~~~~~~~
      

      Attachments

        Activity

          [LU-18785] build fixes for newer gcc/kernel with -Werror=missing-prototypes
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58342/
          Subject: LU-18785 build: ofd, ptlrpc missing prototypes
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 2d1efde7f4dec9ca28ce4d82cabc9690d465dc75

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/58342/ Subject: LU-18785 build: ofd, ptlrpc missing prototypes Project: fs/lustre-release Branch: master Current Patch Set: Commit: 2d1efde7f4dec9ca28ce4d82cabc9690d465dc75

          "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58342
          Subject: LU-18785 build: ofd, ptlrpc missing prototypes
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: a4d6c1561475fc6993053f678b17f2113cf6e622

          gerrit Gerrit Updater added a comment - "Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/58342 Subject: LU-18785 build: ofd, ptlrpc missing prototypes Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: a4d6c1561475fc6993053f678b17f2113cf6e622

          People

            stancheff Shaun Tancheff
            stancheff Shaun Tancheff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: