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
enforce experimental tag at beginning of declarations
[dpdk.git]
/
devtools
/
checkpatches.sh
diff --git
a/devtools/checkpatches.sh
b/devtools/checkpatches.sh
index
d150353
..
dbdf08e
100755
(executable)
--- a/
devtools/checkpatches.sh
+++ b/
devtools/checkpatches.sh
@@
-96,6
+96,11
@@
check_experimental_tags() { # <patch>
"headers ("current_file")";
ret = 1;
}
+ if ($1 != "+__rte_experimental" || $2 != "") {
+ print "__rte_experimental must appear alone on the line" \
+ " immediately preceding the return type of a function."
+ ret = 1;
+ }
}
END {
exit ret;