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:15:04 +0000 (15:15 -0400)
commitbddf7ce3f4383f55d9fb17b24f7f395c09d3eedc
tree2d2a66ddb9d7ef78098daccba5b4585b318a8cc6
parent959132c967690a1ab263766279e779c4d36fa3b9
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.026381 seconds and 4 git commands to generate.