mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
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:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user