Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
9223372036854775807
Description
Based on comments made in http://review.whamcloud.com/17661 to follow the upstream kernel coding style, it makes sense to update contrib/scripts/checkpatch.pl with recent upstream changes so that it follows current kernel CodingStyle, since changes like "printk strings allowed over 80 chars" that are in conflict to what our current checkpatch.pl complains about. Also the "if (rc == NULL)" and "if (rc != 0)" are deprecated upstream.
However, we also have local checkpatch.pl modifications to complain about typedefs and cfs_ wrappers and such, so that shouldn't be removed. Possibly hooked into a more "vanilla" checkpatch.pl and the Lustre-specific deprecations in an external file?
Attachments
Issue Links
- is related to
-
LU-11614 Modify checkpatch.pl to ignore 80 Character warning for CERROR, CWARN and CDEBUG
-
- Resolved
-