Repository navigation
Commit dfa05c2
checkpatch: remove email address comment from email address comparisons
About 2% of the last 100K commits have email addresses that include an
RFC2822 compliant comment like:
Peter Zijlstra (Intel) <peterz@infradead.org>
checkpatch currently does a comparison of the complete name and address to
the submitted author to determine if the author has signed-off and emits a
warning if the exact email names and addresses do not match.
Unfortunately, the author email address can be written without the comment
like:
Peter Zijlstra <peterz@infradead.org>
Add logic to compare the comment stripped email addresses to avoid this
warning.
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: http://lkml.kernel.org/r/ebaa2f7c8f94e25520981945cddcc1982e70e072.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 8306b05 commit dfa05c2
1 file changed
Lines changed: 29 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1118 | 1118 | | |
1119 | 1119 | | |
1120 | 1120 | | |
| 1121 | + | |
1121 | 1122 | | |
1122 | 1123 | | |
1123 | 1124 | | |
| |||
1150 | 1151 | | |
1151 | 1152 | | |
1152 | 1153 | | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
1153 | 1158 | | |
1154 | 1159 | | |
1155 | 1160 | | |
| |||
1158 | 1163 | | |
1159 | 1164 | | |
1160 | 1165 | | |
1161 | | - | |
| 1166 | + | |
1162 | 1167 | | |
1163 | 1168 | | |
1164 | 1169 | | |
| |||
1184 | 1189 | | |
1185 | 1190 | | |
1186 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
1187 | 1209 | | |
1188 | 1210 | | |
1189 | 1211 | | |
| |||
2604 | 2626 | | |
2605 | 2627 | | |
2606 | 2628 | | |
| 2629 | + | |
2607 | 2630 | | |
2608 | 2631 | | |
2609 | 2632 | | |
2610 | | - | |
| 2633 | + | |
2611 | 2634 | | |
2612 | 2635 | | |
2613 | 2636 | | |
2614 | | - | |
2615 | | - | |
2616 | | - | |
2617 | | - | |
| 2637 | + | |
| 2638 | + | |
2618 | 2639 | | |
2619 | 2640 | | |
2620 | 2641 | | |
| |||
2664 | 2685 | | |
2665 | 2686 | | |
2666 | 2687 | | |
2667 | | - | |
| 2688 | + | |
2668 | 2689 | | |
2669 | 2690 | | |
2670 | 2691 | | |
| |||
2675 | 2696 | | |
2676 | 2697 | | |
2677 | 2698 | | |
2678 | | - | |
2679 | | - | |
2680 | | - | |
| 2699 | + | |
2681 | 2700 | | |
2682 | 2701 | | |
2683 | 2702 | | |
| |||
0 commit comments