linux-yocto/lib/kunit
Tzung-Bi Shih f6941e72d3 kunit: Fix wrong parameter to kunit_deactivate_static_stub()
[ Upstream commit 772e50a76e ]

kunit_deactivate_static_stub() accepts real_fn_addr instead of
replacement_addr.  In the case, it always passes NULL to
kunit_deactivate_static_stub().

Fix it.

Link: https://lore.kernel.org/r/20250520082050.2254875-1-tzungbi@kernel.org
Fixes: e047c5eaa7 ("kunit: Expose 'static stub' API to redirect functions")
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-19 15:28:04 +02:00
..
.kunitconfig
assert.c
attributes.c kunit: fix struct kunit_attr header 2023-08-21 08:07:56 -06:00
debugfs.c kunit: debugfs: Fix unchecked dereference in debugfs_print_results() 2024-01-25 15:35:15 -08:00
debugfs.h
executor_test.c kunit: test: Log the correct filter string in executor_test 2024-03-26 18:19:18 -04:00
executor.c kunit: run test suites only after module initialization completes 2024-02-05 20:14:34 +00:00
hooks-impl.h
hooks.c
Kconfig kunit: Allow kunit test modules to use test filtering 2023-08-08 13:46:18 -06:00
kunit-example-test.c kunit: Add speed attribute 2023-07-26 13:29:04 -06:00
kunit-test.c
Makefile
resource.c
static_stub.c kunit: Fix wrong parameter to kunit_deactivate_static_stub() 2025-06-19 15:28:04 +02:00
string-stream-test.c
string-stream.c
string-stream.h
test.c kunit: run test suites only after module initialization completes 2024-02-05 20:14:34 +00:00
try-catch-impl.h
try-catch.c kunit: Fix timeout message 2024-07-11 12:49:08 +02:00