]> 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)
commite4a02c8057696ea49a0830354b53e720b73f22dd
tree46d97621675a3d356c05f1327917803c4489d8e5
parent5a43866506b0371e7e529de756e0466c44d92eb7
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