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:15:04 +0000 (15:15 -0400)
commit3a1a8633f70c770afc8a837f31c3084a82dac3d2
treeee51943ca788dfb527f4edf873001e6154b4554e
parentbddf7ce3f4383f55d9fb17b24f7f395c09d3eedc
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.034565 seconds and 4 git commands to generate.