Added --no-tree option to checkpatch such that checkpatch does not check for the Signed-off-by: ... line.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2264 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-09-25 09:05:49 +00:00
parent 36bd458d57
commit e10b167288
+1 -1
View File
@@ -313,7 +313,7 @@ function run_checkpatch {
then
echo "Running checkpatch on the SCST kernel patch ..."
( cd "${outputdir}/linux-$1" \
&& scripts/checkpatch.pl - < "${patchfile}" &> "${outputfile}")
&& scripts/checkpatch.pl --no-tree - < "${patchfile}" &> "${outputfile}")
local errors=$(grep -c '^ERROR' "${outputfile}")
local warnings=$(grep -c '^WARNING' "${outputfile}")
echo "${errors} errors / ${warnings} warnings."