Gabriele Monaco <[email protected]> writes: > Add KUNIT_STATIC_STUB_REDIRECT to allow those functions to be stubbed in > a KUnit test. This is useful to catch reaction without creating a custom > reactor and going through the effort of setting it from a test. > rv_{get/put}_task_monitor_slot() rely on a lock, but this isn't > necessary during a unit test, so simply skip the calls. > > Signed-off-by: Gabriele Monaco <[email protected]>
Reviewed-by: Nam Cao <[email protected]>
