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: Arnon Warshavsky <hidden>
Date: 2018-05-27 20:34:20

This is consuming stdin.
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
+             [ $? -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)


thanks
/Arnon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help