]> git.proxmox.com Git - mirror_frr.git/commit - tools/checkpatch.sh
tools: finer-grained error codes for checkpatch
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 23 Feb 2018 15:58:17 +0000 (10:58 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 23 Feb 2018 16:02:19 +0000 (11:02 -0500)
commit2580e72f8d62d9094ddea2af72de222edcac4ccc
tree1a005a36a41a1311bd6c1c2d6441ad3085779b13
parent6f3835891a217af960c73366f6b635f65b256901
tools: finer-grained error codes for checkpatch

* 2 for errors
* 1 for warnings
* 0 for clean
* Suppress all report text for a clean result
* Remove check for const structs from perl script
* Remove grep suppression for that check from shell script

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
tools/checkpatch.pl
tools/checkpatch.sh