From 759d02c167aa4eaee66b12b6c058c81d0906041f Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 30 Nov 2013 11:45:22 +0100 Subject: [PATCH] Cleanup: fix typo in ring buffer backend comment Signed-off-by: Mathieu Desnoyers --- lib/ringbuffer/ring_buffer_backend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ringbuffer/ring_buffer_backend.c b/lib/ringbuffer/ring_buffer_backend.c index 8c9d2b7c..32accf35 100644 --- a/lib/ringbuffer/ring_buffer_backend.c +++ b/lib/ringbuffer/ring_buffer_backend.c @@ -814,8 +814,9 @@ EXPORT_SYMBOL_GPL(lib_ring_buffer_read_get_page); * * Return the address where a given offset is located (for read). * Should be used to get the current subbuffer header pointer. Given we know - * it's never on a page boundary, it's safe to write directly to this address, - * as long as the write is never bigger than a page size. + * it's never on a page boundary, it's safe to read/write directly + * from/to this address, as long as the read/write is never bigger than a + * page size. */ void *lib_ring_buffer_read_offset_address(struct lib_ring_buffer_backend *bufb, size_t offset) -- 2.34.1