devtools: exclude common EAL header from attribute check
PATCH 1/1 devtools: exclude common EAL header from attribute check
With the addition of SKIP_FILES in
commit 7e421ae345f4 ("devtools: support skipping forbid rule check"), it is possible to avoid false positive on adding
attribute wrapper in rte_common.h.
Signed-off-by David Marchand <[email protected]>
--- devtools/checkpatches.sh | 1 + 1 file changed, 1 insertion(+)
devtools/checkpatches.sh +1 -0
@@ -89,6 +89,7 @@ check_forbidden_additions() { # <patch> # refrain from using compiler attribute without defining a common macro awk -v FOLDERS="lib drivers app examples" \ + -v SKIP_FILES='lib/eal/include/rte_common.h' \ -v EXPRESSIONS="__attribute__" \ -v RET_ON_FAIL=1 \ -v MESSAGE='Using compiler attribute directly' \
Signature · 1 line
2.46.2
Quoted 7 lines · On Thu, 10 Oct 2024 19:00:42 +0200 David Marchand <[email protected]>…
With the addition of
SKIP_FILESin
commit7e421ae345f4("devtools: support skipping forbid rule check"), it is possible to avoid false positive on adding
attribute wrapper inrte_common.h.Signed-off-by David Marchand <[email protected]>---
David Marchand
AppliedQuoted 7 lines · Stephen Hemminger
Quoted 6 lines
With the addition of
SKIP_FILESin
commit7e421ae345f4("devtools: support skipping forbid rule check"), it is possible to avoid false positive on adding
attribute wrapper inrte_common.h.Signed-off-by David Marchand <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand