[dpdk-dev] [PATCH v13] devtools: alert on new instances of rte_panic and rte_exit
David Marchand
david.marchand at 6wind.com
Mon Sep 10 08:06:21 CEST 2018
On Tue, Jul 31, 2018 at 2:38 PM, Thomas Monjalon <thomas at monjalon.net> wrote:
> 27/07/2018 00:10, Arnon Warshavsky:
>> This patch adds a new function that is called
>> per every checked patch,
>> and alerts for new instances of rte_panic/rte_exit.
>> The check excludes comments, and alerts in the case
>> of a positive balance between additions and removals.
>>
>> Signed-off-by: Arnon Warshavsky <arnon at qwilt.com>
>> Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>
>> Tested-by: Kevin Traynor <ktraynor at redhat.com>
>
> Applied, with small adjustments, thanks
I get some warning when running this on Ubuntu 18.04.
marchand at gribouille:~/git/dpdk$ ./devtools/checkpatches.sh
sanity/0001-mbuf-add-sanity-checks-on-segment-metadata.patch
./devtools/checkpatches.sh: 52: read: Illegal option -d
1/1 valid patch
+ false
+ check_forbidden_additions
+ read -d awk_script
./devtools/checkpatches.sh: 52: read: Illegal option -d
+ awk -v FOLDERS=lib drivers -v EXPRESSIONS=rte_panic\\( rte_exit\\(
-v RET_ON_FAIL=1 -
+ report=
+ [ 0 -ne 0 ]
--
David Marchand
More information about the dev
mailing list