Re: [PATCH-for-5.0 01/12] scripts/coccinelle: Add script to catch missing error_propagate() calls

2020-03-26 Thread Peter Maydell
On Wed, 25 Mar 2020 at 19:18, Philippe Mathieu-Daudé wrote: > > In some places in we put an error into a local Error*, but forget > to check for failure and pass it back to the caller. > Add a Coccinelle patch to catch automatically add the missing code. > > Inspired-by: Peter Maydell > Signed-of

[PATCH-for-5.0 01/12] scripts/coccinelle: Add script to catch missing error_propagate() calls

2020-03-25 Thread Philippe Mathieu-Daudé
In some places in we put an error into a local Error*, but forget to check for failure and pass it back to the caller. Add a Coccinelle patch to catch automatically add the missing code. Inspired-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé --- ...ect_property_missing_error_propagate