Thread (91 messages) 91 messages, 6 authors, 2018-09-10

Re: [PATCH v10] devtools: alert on new instances of rte_panic and rte_exit

From: Thomas Monjalon <hidden>
Date: 2018-07-15 23:15:46

27/05/2018 22:34, Arnon Warshavsky:
This is consuming stdin.
quoted
I guess the checkpatch.pl will have nothing to check in the next step.
We should merge Neil's patch first, because he is adding a tmpfile
to solve the issue of stdin read only once.
Yup. Missed the fact stdin is consumed. temp file is a good idea
quoted
quoted
+             [ $? -eq 0 ] || return 0
This test looks reversed: if the result is not 0, we should not return 0.
And by the way, I think it is better to continue with other checks.
Neil's patch is setting ret=1, continue and return at the end.
quoted
              report=$($DPDK_CHECKPATCH_PATH $options - 2>/dev/null)
As it was agreed that this check should only warn and not fail the tests,
The actual situation is that the function check_forbidden_additions()
always returns zero.
Once Neils patch is in, I can align to the return value propagation,
but the current code never fails  (that may change of course for future
different tokens)
Neil's patch is merged. Please would you like to resume your work?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help