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)
commit3f6316b4378e64e96acfe55b499648dc0e6b9603
tree46d97621675a3d356c05f1327917803c4489d8e5
parent59753a805499f1ffbca4ac0a24b3dff67bf00001
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