binder: fix trivial typo of binder_free_buf_locked()
authorCarlos Llamas <cmllamas@google.com>
Fri, 1 Dec 2023 17:21:35 +0000 (17:21 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Dec 2023 00:23:38 +0000 (09:23 +0900)
Fix minor misspelling of the function in the comment section.

No functional changes in this patch.

Cc: stable@vger.kernel.org
Fixes: 0f966cba95c7 ("binder: add flag to clear buffer on txn complete")
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20231201172212.1813387-7-cmllamas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c

index 9b5c4d446efadcf79877e62ce5010fbce06da415..a124d2743c69b21db555d3213f237b55763dbbce 100644 (file)
@@ -704,7 +704,7 @@ void binder_alloc_free_buf(struct binder_alloc *alloc,
        /*
         * We could eliminate the call to binder_alloc_clear_buf()
         * from binder_alloc_deferred_release() by moving this to
-        * binder_alloc_free_buf_locked(). However, that could
+        * binder_free_buf_locked(). However, that could
         * increase contention for the alloc mutex if clear_on_free
         * is used frequently for large buffers. The mutex is not
         * needed for correctness here.