From nobody Sun Oct 06 22:55:34 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XMHgW1j2Kz5Yfqn; Sun, 06 Oct 2024 22:55:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XMHgW1BpXz49N6; Sun, 6 Oct 2024 22:55:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728255335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vs8dH7SdlPJfryqQSg6hpUZ5ijPutfJu8DfNRf5XMX4=; b=xPQOtXCCJ9XCr2QUoa7YWp4WpjMmRc3sEoqfNP4UAv3JLZggNiv6vRJnOfmNTbkfLdPHM9 eXrNgP1aUjQbCSqa2PNBr8hshZCywQ5CZwkMERVj+WpvVWC3Uzz1RBlscGjheyp5X01otu x91M5aB9kreYGADVijz4NiGZZ0NHvyj8Mq/M0ozp4PEa0m+UaX91i5YQ3UwYj1Vbjlvu+Y OLPQn5BswYAb47KB9PR3BCMx15jgGEQKpA/l9SYx1EToViLuRSx9I7EzQopv8AqmzVyu1+ Nex3fHJ3kTNIpSQvj9Ca/TrWgm0RySmOO0iOig+hhfYIyGccbSDQygH8aR5mkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728255335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vs8dH7SdlPJfryqQSg6hpUZ5ijPutfJu8DfNRf5XMX4=; b=AgeD3vDkOnlhUy6VU4fqqIUxhMMcdc2AoQJ7YMjXXu2dnB4tLyejkQflIC5qmWsnuxcuql jIm/aJHvV7U834SQZhSDelDXFI3vf16YN5Nik+K+AWc5cgyrkHNs2tGjxC3TVmz99o+zQg JO/7+kuqvGvD76lniGVdfyioyRW/KDar0E2Rn2FuhZitczHv33iXvXrLa1KuwDwBly9nMA 3D/PUE4gLhfKATX0fF8spZc3GqygGYc6jyQzx452DtH50zpS14EJPEUcCcBRelVMCI+rzR vDKNE0SaqGK+aUEo4ksjHySdogYY5KHS0hD6BWRjspMQrer04U0vN1RpbOan/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728255335; a=rsa-sha256; cv=none; b=Zfn9Yo69l+hpr1f6eWkVB8eRndRe2IuBHvmBPxqaZhIw9xpqfWxB+mmzLYL/rLTHdcNtq8 mt8npRXsmCv/P7uNwIXL01sxWnThaVY6cbt5E8ZaObP5hUg8L5u5gX6Yr25ZBstgZmtYtH t/CgPR+nESnqpESiQkZPG54oOxHlQ15DQB2tsKnOAVISKAQrijVggIUQ3wk4sAYc5ihbAV 4RkuLXxynfZOXmTmzwUHA9Ay11yiLSnNtR5v1zxZKpuuuV+LpM8Otig84ocgjQ98wvpZaM CG+IX/u/yqAaevo07jggA8l6K7ig5BUAm0/aIrCCiD4zHUO+B/fAshBbfQld0w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XMHgW0Nj7zLj9; Sun, 6 Oct 2024 22:55:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 496MtY6Y044441; Sun, 6 Oct 2024 22:55:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 496MtY36044438; Sun, 6 Oct 2024 22:55:34 GMT (envelope-from git) Date: Sun, 6 Oct 2024 22:55:34 GMT Message-Id: <202410062255.496MtY36044438@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 7f1dfd6c33db - main - vm_object: Fix the argument type to vm_object_set_flag() List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d commit 7f1dfd6c33dbbb6c1136e987de554c5c5a7d014d Author: Mark Johnston AuthorDate: 2024-10-06 22:54:13 +0000 Commit: Mark Johnston CommitDate: 2024-10-06 22:55:02 +0000 vm_object: Fix the argument type to vm_object_set_flag() Reported by: kib Fixes: 9d52823bf1df ("vm_object: Widen the flags field") --- 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 3274f59f958f..71a1c33c7f26 100644 --- a/sys/vm/vm_object.h +++ b/sys/vm/vm_object.h @@ -283,7 +283,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;