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

          People

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

            Dates

              Created:
              Updated:
              Resolved: