git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
devtools: support FreeBSD
[dpdk.git]
/
devtools
/
checkpatches.sh
diff --git
a/devtools/checkpatches.sh
b/devtools/checkpatches.sh
index
560e6ce
..
8e2beee
100755
(executable)
--- a/
devtools/checkpatches.sh
+++ b/
devtools/checkpatches.sh
@@
-7,9
+7,9
@@
# - DPDK_CHECKPATCH_CODESPELL
# - DPDK_CHECKPATCH_LINE_LENGTH
# - DPDK_CHECKPATCH_OPTIONS
# - DPDK_CHECKPATCH_CODESPELL
# - DPDK_CHECKPATCH_LINE_LENGTH
# - DPDK_CHECKPATCH_OPTIONS
-. $(dirname $(readlink -
e
$0))/load-devel-config
+. $(dirname $(readlink -
f
$0))/load-devel-config
-VALIDATE_NEW_API=$(dirname $(readlink -
e
$0))/check-symbol-change.sh
+VALIDATE_NEW_API=$(dirname $(readlink -
f
$0))/check-symbol-change.sh
# Enable codespell by default. This can be overwritten from a config file.
# Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
# Enable codespell by default. This can be overwritten from a config file.
# Codespell can also be enabled by setting DPDK_CHECKPATCH_CODESPELL to a valid path
@@
-66,7
+66,7
@@
check_forbidden_additions() { # <patch>
-v EXPRESSIONS="rte_panic\\\( rte_exit\\\(" \
-v RET_ON_FAIL=1 \
-v MESSAGE='Using rte_panic/rte_exit' \
-v EXPRESSIONS="rte_panic\\\( rte_exit\\\(" \
-v RET_ON_FAIL=1 \
-v MESSAGE='Using rte_panic/rte_exit' \
- -f $(dirname $(readlink -
e
$0))/check-forbidden-tokens.awk \
+ -f $(dirname $(readlink -
f
$0))/check-forbidden-tokens.awk \
"$1" || res=1
# svg figures must be included with wildcard extension
"$1" || res=1
# svg figures must be included with wildcard extension
@@
-75,7
+75,7
@@
check_forbidden_additions() { # <patch>
-v EXPRESSIONS='::[[:space:]]*[^[:space:]]*\\.svg' \
-v RET_ON_FAIL=1 \
-v MESSAGE='Using explicit .svg extension instead of .*' \
-v EXPRESSIONS='::[[:space:]]*[^[:space:]]*\\.svg' \
-v RET_ON_FAIL=1 \
-v MESSAGE='Using explicit .svg extension instead of .*' \
- -f $(dirname $(readlink -
e
$0))/check-forbidden-tokens.awk \
+ -f $(dirname $(readlink -
f
$0))/check-forbidden-tokens.awk \
"$1" || res=1
return $res
"$1" || res=1
return $res