]> git.droids-corp.org - dpdk.git/commit
devtools: fix comment detection in forbidden token check
authorDavid Marchand <david.marchand@redhat.com>
Thu, 27 Jan 2022 10:55:11 +0000 (11:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 27 Jan 2022 16:17:41 +0000 (17:17 +0100)
commitfdcc8970bce23d476e7fabd18a82fb298725c511
tree1e9dc8519cf2ac2d8bded892253089e2fb11556f
parente2cbb384505596fa833909c60c31f669ad413ba0
devtools: fix comment detection in forbidden token check

After a comment section was detected, passing to a new hunk was not seen
as ending the section and all subsequent hunks were ignored.

Fixes: 7413e7f2aeb3 ("devtools: alert on new calls to exit from libs")
Cc: stable@dpdk.org
Reported-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: David Marchand <david.marchand@redhat.com>
devtools/check-forbidden-tokens.awk