Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-07-02 Thread Markus Armbruster
Markus Armbruster writes: > Vladimir Sementsov-Ogievskiy writes: > >> 24.06.2020 19:43, Markus Armbruster wrote: >>> When all we do with an Error we receive into a local variable is >>> propagating to somewhere else, we can just as well receive it there >>> right away. The previous commit did t

Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-27 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > 24.06.2020 19:43, Markus Armbruster wrote: >> When all we do with an Error we receive into a local variable is >> propagating to somewhere else, we can just as well receive it there >> right away. The previous commit did that for simple cases with >> Coccin

Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-26 Thread Vladimir Sementsov-Ogievskiy
24.06.2020 19:43, Markus Armbruster wrote: When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous commit did that for simple cases with Coccinelle. Do it for a few more manually. Signed-off-b

Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-25 Thread Eric Blake
On 6/25/20 7:50 AM, Markus Armbruster wrote: Eric Blake writes: On 6/24/20 11:43 AM, Markus Armbruster wrote: When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous commit did that for simp

Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-25 Thread Markus Armbruster
Eric Blake writes: > On 6/24/20 11:43 AM, Markus Armbruster wrote: >> When all we do with an Error we receive into a local variable is >> propagating to somewhere else, we can just as well receive it there >> right away. The previous commit did that for simple cases with >> Coccinelle. Do it fo

Re: [PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-24 Thread Eric Blake
On 6/24/20 11:43 AM, Markus Armbruster wrote: When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous commit did that for simple cases with Coccinelle. Do it for a few more manually. Signed-of

[PATCH 07/46] error: Avoid more error_propagate() when error is not used here

2020-06-24 Thread Markus Armbruster
When all we do with an Error we receive into a local variable is propagating to somewhere else, we can just as well receive it there right away. The previous commit did that for simple cases with Coccinelle. Do it for a few more manually. Signed-off-by: Markus Armbruster --- blockdev.c |