service: Add and Leverage 'clear_error'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | service: Add and leverage 'clear_error'.src/ | +13 | 0 replies | |
| 2/2 | service: Document '{clear,set}_error'.src/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] service: Add and Leverage 'clear_error'
There are a suffient number of instantiations of the following implementation pattern:
set_error(service, CONNMAN_SERVICE_ERROR_UNKNOWN);
to clear or reset the "Error" service property where it makes sense to embody this in a single function.
This introduces and leverages the 'clear_error' function to embody this pattern.
Grant Erickson (2):
service: Add and leverage 'clear_error'.
service: Document '{clear,set}_error'.
src/service.c | 56 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 50 insertions(+), 6 deletions(-)
Signature · 1 line
2.42.0