[RFC PATCH v4 6/9] printk-rb: adjust test module ringbuffer sizes
From: John Ogness
Date: Wed Aug 07 2019 - 18:27:34 EST
The ringbuffer documents that the expected average size value
should be lower than the actual average. For the test module the
average should be 64, so set the expected average to 5 bits (32).
Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
---
kernel/printk/test_prb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/printk/test_prb.c b/kernel/printk/test_prb.c
index 1ecb4fcbf823..77d298b6990a 100644
--- a/kernel/printk/test_prb.c
+++ b/kernel/printk/test_prb.c
@@ -63,7 +63,7 @@ static void dump_rb(struct printk_ringbuffer *rb)
trace_printk("END full dump\n");
}
-DECLARE_PRINTKRB(test_rb, 7, 5);
+DECLARE_PRINTKRB(test_rb, 5, 7);
static int prbtest_writer(void *data)
{
--
2.20.1