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

report deprecated CFS_LIST_HEAD uses in checkpatch.pl

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.6.0
    • Lustre 2.6.0
    • None
    • 3
    • 14230

    Description

      Per Andreas' comment on LU-4524, it would be better to change checkpatch script to report:
      CFS_LIST_HEAD() is deprecated, use "struct list_head foo = LIST_HEAD_INIT(foo);" instead.

      Attachments

        Activity

          [LU-5160] report deprecated CFS_LIST_HEAD uses in checkpatch.pl
          emoly.liu Emoly Liu made changes -
          Fix Version/s New: Lustre 2.6.0 [ 10595 ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          emoly.liu Emoly Liu added a comment -

          The patch landed to 2.6.

          emoly.liu Emoly Liu added a comment - The patch landed to 2.6.
          adilger Andreas Dilger made changes -
          Affects Version/s New: Lustre 2.6.0 [ 10595 ]
          emoly.liu Emoly Liu added a comment - The patch is at http://review.whamcloud.com/10649 .
          emoly.liu Emoly Liu created issue -

          People

            emoly.liu Emoly Liu
            emoly.liu Emoly Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: