]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: remove false warning for commit reference
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 10 Jul 2017 22:52:16 +0000 (15:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:35 +0000 (16:32 -0700)
commit866c3e4fec39bccdf07b8b6d823a9a71f1cf8102
tree69ce7aa533ad9457992f52ef8ad65687d7233c17
parente988337c720d1b0160d73c062d6b56e3184ebbbb
checkpatch: remove false warning for commit reference

Checkpatch warns of an incorrect commit reference style for any
hexadecimal number of 12 digits and more.

Numbers of 12 digits are not necessarily commit ids.

For an example provoking the problem see
  https://patchwork.kernel.org/patch/9170897/

Checkpatch should only warn if the number refers to an existing commit.

Link: http://lkml.kernel.org/r/20170607184008.5869-1-xypron.glpk@gmx.de
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl