linux-kernelorg-stable/lib/kunit
Tzung-Bi Shih 772e50a76e kunit: Fix wrong parameter to kunit_deactivate_static_stub()
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>
2025-05-21 09:51:23 -06:00
..
.kunitconfig
Kconfig kunit: Introduce autorun option 2025-01-15 09:04:06 -07:00
Makefile
assert.c
assert_test.c
attributes.c
debugfs.c kunit: Introduce autorun option 2025-01-15 09:04:06 -07:00
debugfs.h
device-impl.h
device.c
executor.c kunit: executor: Remove const from kunit_filter_suites() allocation type 2025-04-29 12:48:27 -06:00
executor_test.c
hooks-impl.h
hooks.c
kunit-example-test.c
kunit-test.c
platform-test.c
platform.c
resource.c
static_stub.c kunit: Fix wrong parameter to kunit_deactivate_static_stub() 2025-05-21 09:51:23 -06:00
string-stream-test.c
string-stream.c
string-stream.h
test.c kunit: Introduce autorun option 2025-01-15 09:04:06 -07:00
try-catch-impl.h
try-catch.c
user_alloc.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00