summaryrefslogtreecommitdiff
path: root/scripts/livepatch/init.c
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2026-10-03 10:21:30 +0200
committerNathan Chancellor <nathan@kernel.org>2026-10-03 10:21:30 +0200
commitfd79efef14d99da64f39dfc9e471c87bb1b865f3 (patch)
tree505290d502356da1660ceb133b65a18353457099 /scripts/livepatch/init.c
parent2eaa399a85efad571f4043ec8903e076b73a3dbb (diff)
parentac7445c28e7a28d5131bc9f9a143261e79495027 (diff)
downloadlinux-next-fd79efef14d99da64f39dfc9e471c87bb1b865f3.tar.gz
linux-next-fd79efef14d99da64f39dfc9e471c87bb1b865f3.zip
Merge commit 'ac7445c28e7a' into kbuild-for-next
Merge the 7.3-rc6 random merge to temporarily resolve a tricky conflict in -next. Linus will handle this during the merge window. Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'scripts/livepatch/init.c')
-rw-r--r--scripts/livepatch/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/livepatch/init.c b/scripts/livepatch/init.c
index f14d8c8fb35f..16aff8f736eb 100644
--- a/scripts/livepatch/init.c
+++ b/scripts/livepatch/init.c
@@ -51,7 +51,7 @@ static int __init livepatch_mod_init(void)
if (!funcs) {
ret = -ENOMEM;
for (int j = 0; j < i; j++)
- kfree(objs[i].funcs);
+ kfree(objs[j].funcs);
goto err_free_objs;
}