On Thu, 21 Dec 2023 at 18:39, Richard Fitzgerald
<[email protected]> wrote:
>
> Adds a variant of example_static_stub_test() that shows use of a
> pointer-to-function with kunit_activate_static_stub().
>
> A const pointer to the add_one() function is declared. This
> pointer-to-function is passed to kunit_activate_static_stub() and
> kunit_deactivate_static_stub() instead of passing add_one directly.
>
> Signed-off-by: Richard Fitzgerald <[email protected]>
> ---

Reviewed-by: David Gow <[email protected]>

Thanks,
-- David

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to