Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
checkpatch.pl print empty correction string if mistake string have '('
These input (mistake string) prints empty correction string.
- ERR_PTR(PTR_ERR||ERR_CAST
- 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'?