[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/livepatch: fix norevert test hook setup typo
commit f0622dd4fd6ae6ddb523a45d89ed9b8f3a9a8f36 Author: Roger Pau Monné <roger.pau@xxxxxxxxxx> AuthorDate: Mon Feb 26 10:13:46 2024 +0100 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Mon Feb 26 10:13:46 2024 +0100 xen/livepatch: fix norevert test hook setup typo The test code has a typo in using LIVEPATCH_APPLY_HOOK() instead of LIVEPATCH_REVERT_HOOK(). Fixes: 6047104c3ccc ('livepatch: Add per-function applied/reverted state tracking marker') Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> Reviewed-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx> --- xen/test/livepatch/xen_action_hooks_norevert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/test/livepatch/xen_action_hooks_norevert.c b/xen/test/livepatch/xen_action_hooks_norevert.c index 3e21ade6ab..c173855192 100644 --- a/xen/test/livepatch/xen_action_hooks_norevert.c +++ b/xen/test/livepatch/xen_action_hooks_norevert.c @@ -120,7 +120,7 @@ static void post_revert_hook(livepatch_payload_t *payload) printk(KERN_DEBUG "%s: Hook done.\n", __func__); } -LIVEPATCH_APPLY_HOOK(revert_hook); +LIVEPATCH_REVERT_HOOK(revert_hook); LIVEPATCH_PREAPPLY_HOOK(pre_apply_hook); LIVEPATCH_POSTAPPLY_HOOK(post_apply_hook); -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |