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

Use ERR_CAST() instead of ERR_PTR(PTR_ERR())

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.14.0
    • Labels:
      None
    • Rank (Obsolete):
      9223372036854775807

      Description

      Use ERR_CAST() instead of ERR_PTR(PTR_ERR()). This fixes this warning thrown by coccinelle

        Attachments

          Activity

            People

            • Assignee:
              arshad512 Arshad Hussain
              Reporter:
              arshad512 Arshad Hussain
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: