diff options
| author | Andy Whitcroft <apw@shadowen.org> | 2008-10-15 22:02:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 11:21:36 -0700 |
| commit | dea33496ddc2bf1a50e9def87b4ef14709d8cb6d (patch) | |
| tree | d0bd6df3188763f38a42ddc1fd562a1dd2fee0e2 /scripts/patch-kernel | |
| parent | checkpatch: case/default checks should only check changed lines (diff) | |
| download | linux-dea33496ddc2bf1a50e9def87b4ef14709d8cb6d.tar.gz linux-dea33496ddc2bf1a50e9def87b4ef14709d8cb6d.zip | |
checkpatch: suppress errors triggered by short patch
When the last hunk of a patch is short it will trigger errors from
checkpatch:
Use of uninitialized value in pattern match (m//)
at /usr/local/bin/checkpatch.pl line 394.
Use of uninitialized value in concatenation (.) or string
at /usr/local/bin/checkpatch.pl line 397.
Use of uninitialized value in pattern match (m//)
Avoid touching beyond the last line. Reported by Julien Brunel.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Cc: Julien Brunel <brunel@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
