FreeBSD Bugzilla – Attachment 252517 Details for
Bug 280631
[PATCH] vm_pageout: fix build error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Git formatted patch to fix build error in sys/vm/vm_pageout.c
0001-vm_pageout-fix-build-error.patch (text/plain), 1.07 KB, created by
Kenneth Raplee
on 2024-08-05 13:52:44 UTC
(
hide
)
Description:
Git formatted patch to fix build error in sys/vm/vm_pageout.c
Filename:
MIME Type:
Creator:
Kenneth Raplee
Created:
2024-08-05 13:52:44 UTC
Size:
1.07 KB
patch
obsolete
>From a5a990d5cf3ce11337e06e996a0c623f1168f13a Mon Sep 17 00:00:00 2001 >From: Kenneth Raplee <kenrap@kennethraplee.com> >Date: Mon, 5 Aug 2024 06:42:21 -0700 >Subject: [PATCH] vm_pageout: fix build error > >Fixes the following build error: > > /usr/src/sys/vm/vm_pageout.c:369:14: error: variable 'object' set but not used [-Werror,-Wunused-but-set-variable] > --- modules-all --- > --- all_subdir_ae --- > ===> ae (all) > --- vm_pageout.o --- > 369 | vm_object_t object; > | >--- > sys/vm/vm_pageout.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c >index 0d054da34866..f6c5e6291692 100644 >--- a/sys/vm/vm_pageout.c >+++ b/sys/vm/vm_pageout.c >@@ -366,12 +366,10 @@ vm_pageout_flushable(vm_page_t m) > static int > vm_pageout_cluster(vm_page_t m) > { >- vm_object_t object; > vm_page_t mc[2 * vm_pageout_page_count - 1]; > int alignment, num_ends, page_base, pageout_count; > >- object = m->object; >- VM_OBJECT_ASSERT_WLOCKED(object); >+ VM_OBJECT_ASSERT_WLOCKED(m->object); > > vm_page_assert_xbusied(m); > >-- >2.46.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280631
: 252517