Messages in this thread | | | Date | Mon, 6 Nov 2017 10:19:12 +0100 | From | Johan Hovold <> | Subject | Re: [PATCH v3 4/4] staging: greybus: loopback: convert loopback to use generic async operations |
| |
On Mon, Nov 06, 2017 at 01:32:22AM +0000, Bryan O'Donoghue wrote: > Loopback has its own internal method for tracking and timing out > asynchronous operations however previous patches make it possible to use > functionality provided by operation.c to do this instead. Using the code in > operation.c means we can completely subtract the timer, the work-queue, the > kref and the cringe-worthy 'pending' flag. The completion callback > triggered by operation.c will provide an authoritative result code - > including -ETIMEDOUT for asynchronous operations. > > Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Johan Hovold <johan@kernel.org>
| |