From 3cae7f221dc4fba025901949023238975bb59b78 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 26 Jun 2013 13:54:18 -0400 Subject: [PATCH] Document that payload size need to be greater than 0 Signed-off-by: Mathieu Desnoyers --- lib/ringbuffer/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ringbuffer/config.h b/lib/ringbuffer/config.h index 657c04d2..67caba06 100644 --- a/lib/ringbuffer/config.h +++ b/lib/ringbuffer/config.h @@ -207,7 +207,7 @@ struct lib_ring_buffer_ctx { * @ctx: ring buffer context to initialize * @chan: channel * @priv: client private data - * @data_size: size of record data payload + * @data_size: size of record data payload. It must be greater than 0. * @largest_align: largest alignment within data payload types * @cpu: processor id */ -- 2.34.1