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

gcc5 fails to build due to trivial warning

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • Lustre 2.8.0
    • Lustre 2.8.0
    • None
    • gcc5
    • 9223372036854775807

    Description

      CC [M] /home/alexey/head2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.o
      /home/alexey/head2/lustre/ptlrpc/../../lustre/ldlm/ldlm_lockd.c:73:55: error: ‘cfs_time_sub’ is static but used in inline function ‘round_timeout’ which is not static [-Werror]
      return cfs_time_seconds((int)cfs_duration_sec(cfs_time_sub(timeout, 0)) + 1);

      Attachments

        Activity

          People

            bzzz Alex Zhuravlev
            bzzz Alex Zhuravlev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: