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
debugfs.c
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-example-test.c
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