]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
tracing: Fix spelling mistake "preapre" -> "prepare"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 28 Sep 2022 21:58:28 +0000 (22:58 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 29 Sep 2022 14:17:35 +0000 (10:17 -0400)
There is a spelling mistake in the trace text. Fix it.

Link: https://lkml.kernel.org/r/20220928215828.66325-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace.c

index bb5597c6bfc122b97256323ed4dc5cc1bdb565b7..def721de68a0903839e617fde33e7ae9af2ac975 100644 (file)
@@ -10157,7 +10157,7 @@ __init static int tracer_alloc_buffers(void)
         * buffer. The memory will be removed once the "instance" is removed.
         */
        ret = cpuhp_setup_state_multi(CPUHP_TRACE_RB_PREPARE,
-                                     "trace/RB:preapre", trace_rb_cpu_prepare,
+                                     "trace/RB:prepare", trace_rb_cpu_prepare,
                                      NULL);
        if (ret < 0)
                goto out_free_cpumask;