aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc_selftest.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2025-06-26 10:30:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-16 14:11:20 +0200
commit1da2dca2fb3ab241da86890312f2bfb9c1d0d6c3 (patch)
treec68913b879fdbb93f5484924075aa5eba0b277ae /drivers/android/binder_alloc_selftest.c
parentrust: miscdevice: remove unnecessary import (diff)
downloadlinux-1da2dca2fb3ab241da86890312f2bfb9c1d0d6c3.tar.gz
linux-1da2dca2fb3ab241da86890312f2bfb9c1d0d6c3.zip
binder: use kstrdup() in binderfs_binder_device_create()
In 'binderfs_binder_device_create()', use 'kstrdup()' to copy the newly created device's name, thus making the former a bit simpler. Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Acked-by: Carlos Llamas <cmllamas@google.com> Reviewed-by: "Tiffany Y. Yang" <ynaffit@google.com> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Link: https://lore.kernel.org/r/20250626073054.7706-1-dmantipov@yandex.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_alloc_selftest.c')
0 files changed, 0 insertions, 0 deletions