diff options
Diffstat (limited to 'include/kunit/static_stub.h')
-rw-r--r-- | include/kunit/static_stub.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kunit/static_stub.h b/include/kunit/static_stub.h index 85315c80b3..bf940322df 100644 --- a/include/kunit/static_stub.h +++ b/include/kunit/static_stub.h @@ -93,7 +93,7 @@ void __kunit_activate_static_stub(struct kunit *test, * The redirection can be disabled again with kunit_deactivate_static_stub(). */ #define kunit_activate_static_stub(test, real_fn_addr, replacement_addr) do { \ - typecheck_fn(typeof(&real_fn_addr), replacement_addr); \ + typecheck_fn(typeof(&replacement_addr), real_fn_addr); \ __kunit_activate_static_stub(test, real_fn_addr, replacement_addr); \ } while (0) |