Message ID | 20241227072825.1288491-2-rppt@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | x86/module: rework ROX cache to avoid writable copy | expand |
Context | Check | Description |
---|---|---|
mcgrof/vmtest-modules-next-PR | success | PR summary |
mcgrof/vmtest-modules-next-VM_Test-0 | pending | Logs for setup / Setup kdevops environment |
mcgrof/vmtest-modules-next-VM_Test-1 | pending | Logs for setup / Setup kdevops environment |
diff --git a/arch/x86/mm/pat/cpa-test.c b/arch/x86/mm/pat/cpa-test.c index 3d2f7f0a6ed1..ad3c1feec990 100644 --- a/arch/x86/mm/pat/cpa-test.c +++ b/arch/x86/mm/pat/cpa-test.c @@ -183,7 +183,7 @@ static int pageattr_test(void) break; case 1: - err = change_page_attr_set(addrs, len[1], PAGE_CPA_TEST, 1); + err = change_page_attr_set(addrs, len[i], PAGE_CPA_TEST, 1); break; case 2: