Repository navigation
Commit 44d303e
checkpatch: improve Gerrit Change-Id: test
The Gerrit Change-Id: entry is sometimes placed after a Signed-off-by:
line. When this occurs, the Gerrit warning is not currently emitted as
the first Signed-off-by: signature sets a flag to stop looking.
Change the test to add a test for the --- patch separator and emit the
warning before any before the --- and also before any diff file name.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Link: http://lkml.kernel.org/r/2f6d5f8766fe7439a116c77ea8cc721a3f2d77a2.camel@perches.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 713a09d commit 44d303e
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2335 | 2335 | | |
2336 | 2336 | | |
2337 | 2337 | | |
| 2338 | + | |
2338 | 2339 | | |
2339 | 2340 | | |
2340 | 2341 | | |
| |||
2660 | 2661 | | |
2661 | 2662 | | |
2662 | 2663 | | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
2663 | 2670 | | |
2664 | 2671 | | |
2665 | 2672 | | |
| |||
2759 | 2766 | | |
2760 | 2767 | | |
2761 | 2768 | | |
2762 | | - | |
2763 | | - | |
| 2769 | + | |
| 2770 | + | |
2764 | 2771 | | |
2765 | | - | |
| 2772 | + | |
2766 | 2773 | | |
2767 | 2774 | | |
2768 | 2775 | | |
| |||
0 commit comments