On Thu, 2021-07-01 at 07:09 +0000, Long Li wrote: > > On 26. 06. 21, 8:30, longli@xxxxxxxxxxxxxxxxx wrote: > > Have you fed this patch through checkpatch? > > Yes, it didn't throw out any errors. Several warnings and checks though. $ ./scripts/checkpatch.pl 2.patch --strict --terse 2.patch:68: WARNING: Possible unwrapped commit description (prefer a maximum 75 chars per line) 2.patch:148: WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? 2.patch:173: CHECK: spinlock_t definition without comment 2.patch:220: CHECK: spinlock_t definition without comment 2.patch:250: CHECK: Alignment should match open parenthesis 2.patch:255: CHECK: Alignment should match open parenthesis 2.patch:257: CHECK: Macro argument 'level' may be better as '(level)' to avoid precedence issues 2.patch:280: CHECK: Alignment should match open parenthesis 2.patch:283: CHECK: No space is necessary after a cast 2.patch:287: WARNING: quoted string split across lines 2.patch:296: CHECK: Blank lines aren't necessary before a close brace '}' 2.patch:303: CHECK: Please don't use multiple blank lines 2.patch:308: CHECK: Please don't use multiple blank lines 2.patch:331: CHECK: Alignment should match open parenthesis 2.patch:348: CHECK: Alignment should match open parenthesis 2.patch:362: CHECK: Alignment should match open parenthesis 2.patch:371: CHECK: Alignment should match open parenthesis 2.patch:381: CHECK: Alignment should match open parenthesis 2.patch:404: CHECK: No space is necessary after a cast 2.patch:426: WARNING: quoted string split across lines 2.patch:437: WARNING: quoted string split across lines 2.patch:438: WARNING: quoted string split across lines 2.patch:458: CHECK: No space is necessary after a cast 2.patch:459: CHECK: Alignment should match open parenthesis 2.patch:464: CHECK: No space is necessary after a cast 2.patch:465: CHECK: Alignment should match open parenthesis 2.patch:472: CHECK: Alignment should match open parenthesis 2.patch:472: CHECK: No space is necessary after a cast 2.patch:482: CHECK: Alignment should match open parenthesis 2.patch:506: CHECK: Alignment should match open parenthesis 2.patch:513: CHECK: Alignment should match open parenthesis 2.patch:519: CHECK: Alignment should match open parenthesis 2.patch:535: CHECK: Alignment should match open parenthesis 2.patch:537: WARNING: quoted string split across lines 2.patch:538: WARNING: quoted string split across lines 2.patch:539: WARNING: quoted string split across lines 2.patch:549: CHECK: Alignment should match open parenthesis 2.patch:549: CHECK: No space is necessary after a cast 2.patch:565: CHECK: Alignment should match open parenthesis 2.patch:574: CHECK: Alignment should match open parenthesis 2.patch:595: CHECK: Alignment should match open parenthesis 2.patch:634: WARNING: quoted string split across lines 2.patch:639: CHECK: Alignment should match open parenthesis 2.patch:643: CHECK: Alignment should match open parenthesis 2.patch:646: CHECK: Alignment should match open parenthesis 2.patch:648: CHECK: Alignment should match open parenthesis 2.patch:650: CHECK: Alignment should match open parenthesis 2.patch:694: CHECK: braces {} should be used on all arms of this statement 2.patch:696: CHECK: Alignment should match open parenthesis 2.patch:703: CHECK: Unbalanced braces around else statement 2.patch:724: CHECK: Alignment should match open parenthesis 2.patch:744: CHECK: Alignment should match open parenthesis total: 0 errors, 10 warnings, 42 checks, 749 lines checked