[PATCH] selftest: media_tests: fix trivial UAF typo

Carlos Llamas posted 1 patch 1 year ago
tools/testing/selftests/media_tests/regression_test.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
[PATCH] selftest: media_tests: fix trivial UAF typo
Posted by Carlos Llamas 1 year ago
Stumbled upon this typo while looking for something else.

Cc: Shuah Khan <shuah@kernel.org>
Fixes: fe8777a8a0a1 ("selftests: add media controller regression test scripts and document")
Signed-off-by: Carlos Llamas <cmllamas@google.com>
---
 tools/testing/selftests/media_tests/regression_test.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/testing/selftests/media_tests/regression_test.txt b/tools/testing/selftests/media_tests/regression_test.txt
index 2627367681f7..9d0fcd98c085 100644
--- a/tools/testing/selftests/media_tests/regression_test.txt
+++ b/tools/testing/selftests/media_tests/regression_test.txt
@@ -1,5 +1,5 @@
 Testing for regressions in Media Controller API register, ioctl, syscall,
-and unregister paths. There have a few problems that result in user-after
+and unregister paths. There have a few problems that result in use-after
 free on media_device, media_devnode, and cdev pointers when the driver is
 unbound while ioctl is in progress.
 
@@ -15,11 +15,11 @@ Build media_device_test
 cd tools/testing/selftests/media_tests
 make
 
-Regressions test for cdev user-after free error on /dev/mediaX when driver
+Regressions test for cdev use-after-free error on /dev/mediaX when driver
 is unbound:
 
 Start media_device_test to regression test media devnode dynamic alloc
-and cdev user-after-free fixes. This opens media dev files and sits in
+and cdev use-after-free fixes. This opens media dev files and sits in
 a loop running media ioctl MEDIA_IOC_DEVICE_INFO command once every 10
 seconds. The idea is when device file goes away, media devnode and cdev
 should stick around until this test exits.
@@ -40,4 +40,4 @@ keep ioctls going while bind/unbind runs.
 Copy bind_unbind_sample.txt and make changes to specify the driver name
 and number to run bind and unbind. Start the bind_unbind.sh
 
-Run dmesg looking for any user-after free errors or mutex lock errors.
+Run dmesg looking for any use-after-free errors or mutex lock errors.
-- 
2.47.0.338.g60cca15819-goog
Re: [PATCH] selftest: media_tests: fix trivial UAF typo
Posted by Shuah 1 year ago
On 12/5/24 12:48, Carlos Llamas wrote:
> Stumbled upon this typo while looking for something else.
> 
> Cc: Shuah Khan <shuah@kernel.org>
> Fixes: fe8777a8a0a1 ("selftests: add media controller regression test scripts and document")
> Signed-off-by: Carlos Llamas <cmllamas@google.com>
> ---
>   tools/testing/selftests/media_tests/regression_test.txt | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 

Thank you for the patch. Applied to linux-kselftest next
for Linux 6.14-rc1.

Please cc linux-kselftest mailing list when you send kselftest
patches.

thanks,
-- Shuah
Re: [PATCH] selftest: media_tests: fix trivial UAF typo
Posted by Carlos Llamas 1 year ago
On Mon, Dec 09, 2024 at 04:24:30PM -0700, Shuah wrote:
> Please cc linux-kselftest mailing list when you send kselftest
> patches.

Will do.

Thanks,
Carlos Llamas