Date: Tue, 15 Oct 2024 13:51:19 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 3464b209d61c - stable/14 - vm_object: Fix the argument type to vm_object_set_flag() Message-ID: <202410151351.49FDpJgC060905@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3464b209d61ca1512f01bee36008fd5a331de791 commit 3464b209d61ca1512f01bee36008fd5a331de791 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2024-10-06 22:54:13 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2024-10-15 13:45:42 +0000 vm_object: Fix the argument type to vm_object_set_flag() Reported by: kib Fixes: 9d52823bf1df ("vm_object: Widen the flags field") (cherry picked from commit 7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d) --- sys/vm/vm_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h index 1d00bee603f6..a532d07f6674 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -285,7 +285,7 @@ struct vnode; * The object must be locked or thread private. */ static __inline void -vm_object_set_flag(vm_object_t object, u_short bits) +vm_object_set_flag(vm_object_t object, u_int bits) { object->flags |= bits;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410151351.49FDpJgC060905>