Thread (32 messages) 32 messages, 4 authors, 2017-09-15

Re: [PATCH v2 01/15] service: rework probe and get name to use ids

From: Pavan Nikhilesh Bhagavatula <hidden>
Date: 2017-09-04 14:32:58

On Mon, Aug 21, 2017 at 01:58:02PM +0100, Harry van Haaren wrote:
This commit adds a macro to easily validate a service ID, and then
lookup the service pointer, or return a user-specified error code.
This marco will be heavily used in the following patches as it will
be ID based instead of pointer-based.

The probe_capability function is reworked to use an integer ID instead
of a pointer. Rework the service_get_name() function is updated to use
IDs. Unit tests are updated to keep things compiling after each commit.

Signed-off-by: Harry van Haaren <redacted>
Series-Acked-by: Pavan Nikhilesh [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help