Re: [RFC v5 051/126] vfio-ccw: introduce ERRP_AUTO_PROPAGATE

2019-11-12 Thread Cornelia Huck
On Fri, 11 Oct 2019 19:04:37 +0300 Vladimir Sementsov-Ogievskiy wrote: > If we want to add some info to errp (by error_prepend() or > error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. > Otherwise, this info will not be added when errp == _err > (the program will exit prior to the

[RFC v5 051/126] vfio-ccw: introduce ERRP_AUTO_PROPAGATE

2019-10-11 Thread Vladimir Sementsov-Ogievskiy
If we want to add some info to errp (by error_prepend() or error_append_hint()), we must use the ERRP_AUTO_PROPAGATE macro. Otherwise, this info will not be added when errp == _err (the program will exit prior to the error_append_hint() or error_prepend() call). Fix such cases. If we want to