Re: [PATCH v2 01/14] devtools: fix forbidden token check with multiple files

2024-09-12 Thread Thomas Monjalon
12/09/2024 10:26, David Marchand: > --- a/devtools/check-forbidden-tokens.awk > +++ b/devtools/check-forbidden-tokens.awk > @@ -32,14 +32,11 @@ BEGIN { > for (i in deny_expr) { > forbidden_added = "^\\+.*" deny_expr[i]; > forbidden_removed="

[PATCH v2 01/14] devtools: fix forbidden token check with multiple files

2024-09-12 Thread David Marchand
If a patch contains multiple files, it is possible to pass through the check because the count of token mentions is not reset between file evaluation. Example with a fake patch: $ cat toto.patch --- a/drivers/plop1 +++ b/drivers/plop1 - RTE_LOG( - RTE_LOG( + RTE_LOG( --- a/drivers/p