check_format.sh: filter rte_vhost from comment checking
Only filter the type of commenting misformat that the vhost code actually violates currently. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia7e978fc68fd81955a0b384e30b33fefa6124ce1
This commit is contained in:
parent
1b2764421c
commit
cac9db9949
@ -38,7 +38,7 @@ fi
|
|||||||
echo -n "Checking comment style..."
|
echo -n "Checking comment style..."
|
||||||
|
|
||||||
git grep --line-number -e '/[*][^ *-]' -- '*.[ch]' > comment.log || true
|
git grep --line-number -e '/[*][^ *-]' -- '*.[ch]' > comment.log || true
|
||||||
git grep --line-number -e '[^ ][*]/' -- '*.[ch]' >> comment.log || true
|
git grep --line-number -e '[^ ][*]/' -- '*.[ch]' ':!lib/vhost/rte_vhost*/*' >> comment.log || true
|
||||||
git grep --line-number -e '^[*]' -- '*.[ch]' >> comment.log || true
|
git grep --line-number -e '^[*]' -- '*.[ch]' >> comment.log || true
|
||||||
|
|
||||||
if [ -s comment.log ]; then
|
if [ -s comment.log ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user