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

lov_verify_lmm() wrong format for the argument type

Details

    • Bug
    • Resolution: Done
    • 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

          [LU-8181] lov_verify_lmm() wrong format for the argument type

          Hi Oleg,

          This is not valid anymore and could be closed.

          $ find . -type f -name "*.[ch]" | xargs grep -i lov_verify_lmm | wc
           0 0 0
          
          
          arshad512 Arshad Hussain added a comment - Hi Oleg, This is not valid anymore and could be closed. $ find . -type f -name "*.[ch]" | xargs grep -i lov_verify_lmm | wc 0 0 0

          People

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

            Dates

              Created:
              Updated:
              Resolved: