diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-11-01 11:46:40 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2019-05-08 12:15:12 -0400 |
commit | 5c173bedb24dfcc8e412d3c3f111c504e4408dd5 (patch) | |
tree | 8b81532e38bc0fff642fd5398fc9ca81b6ab2b6b /kernel | |
parent | 3dd1f7f24f8ceec00bbbc364c2ac3c893f0fdc4c (diff) | |
download | linux-stable-5c173bedb24dfcc8e412d3c3f111c504e4408dd5.tar.gz linux-stable-5c173bedb24dfcc8e412d3c3f111c504e4408dd5.tar.bz2 linux-stable-5c173bedb24dfcc8e412d3c3f111c504e4408dd5.zip |
ring-buffer: Fix mispelling of Calculate
It's not "Caculate".
Link: http://lkml.kernel.org/r/20181101154640.23162-1-tiny.windzz@gmail.com
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/ring_buffer_benchmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |