Re: [PATCH] ring-buffer: fix small typo
From: Steven Rostedt
Date: Thu Nov 01 2018 - 15:44:08 EST
Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
Jiri,
Is trivial still maintained?
-- Steve
On Thu, 1 Nov 2018 11:46:40 -0400
Yangtao Li <tiny.windzz@xxxxxxxxx> wrote:
> Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
> ---
> kernel/trace/ring_buffer_benchmark.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffer_benchmark.c
> index ffba6789c0e2..0564f6db0561 100644
> --- a/kernel/trace/ring_buffer_benchmark.c
> +++ b/kernel/trace/ring_buffer_benchmark.c
> @@ -362,7 +362,7 @@ static void ring_buffer_producer(void)
> hit--; /* make it non zero */
> }
>
> - /* Caculate the average time in nanosecs */
> + /* Calculate the average time in nanosecs */
> avg = NSEC_PER_MSEC / (hit + missed);
> trace_printk("%ld ns per entry\n", avg);
> }