]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: relax check for length of git commit IDs
authorJoe Perches <joe@perches.com>
Fri, 29 Aug 2014 22:18:26 +0000 (15:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 Aug 2014 23:28:15 +0000 (16:28 -0700)
commit51291a0bd1178708e0bd346c22ed1786b97b71e1
tree46d97621675a3d356c05f1327917803c4489d8e5
parent9cd15091c0f3974620c9af121332963f7ee0d979
checkpatch: relax check for length of git commit IDs

Checkpatch currently warns if a git commit ID (in the changelog,
usually) is less than 12 characters or more than 16.  The "more than 16"
is excessive.  Change the check so we accept IDs from 12 to 40 chars in
length.

Cc: Geert Uytterhoeven <geert@linux-m68k.org
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl