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

lov_verify_lmm() wrong format for the argument type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In lov_verify_lmm() we have:

      sprintf(buffer+2*i, "%.2X", ((char *)lmm)[i]);
      

      This produces a warning since we only reference char, but assume int in the format.
      correct format is apparently %.2hhX

      Attachments

        Activity

          People

            wc-triage WC Triage
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: