Re: [PATCH] selftests/livepatch: add test for module function patching

Miroslav Benes
2026-03-25T08:45:30Z

> > A nit but is 'noinline' keyword needed here? proc_create_single() below
> > takes a function pointer so hopefully test_klp_mod_target_show() stays
> > even without it?
>
> No strong preference either way. I won't fault a livepatch developer
> for being paranoid w/respect to the compiler :D

True :)

Either way

Acked-by: Miroslav Benes <mbenes@suse.cz>