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

checkpatch.pl print empty correction string if mistake string have '('

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      checkpatch.pl print empty correction string if mistake string have '('

       

      These input (mistake string) prints empty correction string.

      1. ERR_PTR(PTR_ERR||ERR_CAST
      2. ERR_PTR.PTR_ERR||ERR_CAST

      Error Eg:

      CHECK: 'ERR_PTR(PTR_ERR(' may be misspelled - perhaps ''?
      #185: FILE: ./lustre/mdt/mdt_identity.c:185:
      + return ERR_PTR(PTR_ERR(entry));
      

      If the typo_fix is a matched regexp, then the checked string will not be found in spelling_fix.

       may be misspelled - perhaps 'CHECKPATCH ERROR'?
      

       

       

      Attachments

        Activity

          People

            wc-triage WC Triage
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: