Fix common misspellings
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / kernel / trace / ring_buffer.c
index d9c8bcafb120f56763a3a9f868ad755b5a836dbc..0ef7b4b2a1f7a15d315f1fb1fd76deed790b3acf 100644 (file)
@@ -1478,7 +1478,7 @@ static inline unsigned long rb_page_entries(struct buffer_page *bpage)
        return local_read(&bpage->entries) & RB_WRITE_MASK;
 }
 
-/* Size is determined by what has been commited */
+/* Size is determined by what has been committed */
 static inline unsigned rb_page_size(struct buffer_page *bpage)
 {
        return rb_page_commit(bpage);
@@ -2932,7 +2932,7 @@ rb_get_reader_page(struct ring_buffer_per_cpu *cpu_buffer)
        /*
         * cpu_buffer->pages just needs to point to the buffer, it
         *  has no specific buffer page to point to. Lets move it out
-        *  of our way so we don't accidently swap it.
+        *  of our way so we don't accidentally swap it.
         */
        cpu_buffer->pages = reader->list.prev;