Fix: lib_ring_buffer_copy_from_user_inatomic error handling
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Apr 2016 21:56:45 +0000 (17:56 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Apr 2016 22:02:57 +0000 (18:02 -0400)
commit6115dd20b489d0c9bdec7c7d5299770605697ca8
treea63d4b86a992e9473f38db22e8369664db80ef12
parent50a48adf2e40f4af60a75e2f100ce118ba434776
Fix: lib_ring_buffer_copy_from_user_inatomic error handling

It should treat nonzero return value of
lib_ring_buffer_do_copy_from_user_inatomic() as errors, 0 as success.

It is currently unused by the instrumentation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/backend.h
lib/ringbuffer/backend_internal.h
lib/ringbuffer/ring_buffer_backend.c
This page took 0.025654 seconds and 4 git commands to generate.