Cleanup: clarify strcpy/strcpy_from_user local variables
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 17:19:33 +0000 (13:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 11 May 2021 19:14:55 +0000 (15:14 -0400)
commite5f1eb9a2a0f516b32966aad52be990b093f24ad
treec2b27c179d61e0bd82d7b41b19ff740f482218cb
parent0d1080f40a7ac09fce7120398746b1bfab3d32d8
Cleanup: clarify strcpy/strcpy_from_user local variables

The variable name "bytes_left_in_page" is clearer than "pagecpy". Also
the only caller of slow paths always has a 0 pagecpy parameter, so
remove that parameter. Also use a "bool" for src_terminated (no
functional change).

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