Cleanup: lib ring buffer: rename pagecpy local variable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 17:29:43 +0000 (13:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 19:14:55 +0000 (15:14 -0400)
commit4774817fd892d3e065a337eb0d0cd9b617f697f2
treecc773ffc51e7706988d75ab0e54da3d6a8e5af40
parente5f1eb9a2a0f516b32966aad52be990b093f24ad
Cleanup: lib ring buffer: rename pagecpy local variable

Rename pagecpy local variable to bytes_left_in_page, which has a clearer
semantic. Also remove the unused pagecpy parameter from slow paths which
was always 0.

Also add a missing __user annotation on @src of
the _lib_ring_buffer_copy_from_user_inatomic prototype.

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