Re: [PATCH 18/46] qemu-option: Smooth error checking manually

2020-06-25 Thread Markus Armbruster
Eric Blake writes: > On 6/24/20 11:43 AM, Markus Armbruster wrote: >> When foo(..., &err) is followed by error_propagate(errp, err), we can >> often just as well do foo(..., errp). The previous commit did that >> for simple cases with Coccinelle. Do it for a few more manually. >> >> Signed-off-

Re: [PATCH 18/46] qemu-option: Smooth error checking manually

2020-06-24 Thread Eric Blake
On 6/24/20 11:43 AM, Markus Armbruster wrote: When foo(..., &err) is followed by error_propagate(errp, err), we can often just as well do foo(..., errp). The previous commit did that for simple cases with Coccinelle. Do it for a few more manually. Signed-off-by: Markus Armbruster --- block.