2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/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
assert_test.c
assert.c
attributes.c
debugfs.c
debugfs.h
device-impl.h
device.c
executor_test.c
executor.c
hooks-impl.h
hooks.c
Kconfig
kunit-example-test.c
kunit-test.c
Makefile
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
try-catch-impl.h
try-catch.c
user_alloc.c