From nobody Fri Dec 15 13:59:46 2023 X-Original-To: dev-commits-src-all@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 4Ss9nt48YSz52rhb; Fri, 15 Dec 2023 13:59:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ss9nt3TVqz4J73; Fri, 15 Dec 2023 13:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702648786; 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=UwBtV6A9yc3ttqf0KrFV3k6dv6Eu2sGjTfUCppfLYq4=; b=rHih3BACSpqSLoPX+NFYztf9jGTsLB0r820yr7qsqjHV8oQuzv+jhSzLnZ4AOG4y+5qnMq hpklQoEkyPAWacGzpkzn/YlP4BE0LcDPciqj5TxScYU72Lldxezv0h1f8ud3iI8UZvQhwz aiVwkkGH04xMPihG/fa8hjitybDD70yGn03CXQgpFvUuy4XLzFu6xOpwQCrX0KWwlulFBy eAQwuh4yNOjDjMFkoLj054ilSgmyt+xSk9TXczbQ28oP/ugfClKPzlBvdl3/EMt28tmMbf zVd8Bp2xTPBlbhx0PEiEpxCApNHkngOug43+twvumQEdSkp9RS1ddvjqYyj1zg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702648786; a=rsa-sha256; cv=none; b=SGQy2TvzdNojf7jNAuKDX/eNQCrl3J5zg6MI/PyJP31PAoet8l5lxKDzPq6be0pkrWQ5c3 NgsJmefL+/Q/KPAQ4WUyGXvJnKnP4KBCRWCMm0QQNuuT+z5GVDdYEeTSKWWhWSToFl2Pl6 TPU5kyUNnRssvKkQdv/xy85OBR4+vg3vfEtHsOUs4mebbIMbCnI7vL+t3dgodMHr+PDEYu uyPnVcbQ1qEc8Ayy4FefXGDxp5RUCM+02q1lbarcY70vSb2Pyf7rbKTHgpi2xnTghGBuHV ey2NvdTyTGgzTY2izNrWPv2noF21xMpxxSa8DUIkKlHYLZ1MFXxgmuFzNQaJiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702648786; 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=UwBtV6A9yc3ttqf0KrFV3k6dv6Eu2sGjTfUCppfLYq4=; b=xUXtXZmDbFOYr7+W3onBAjGI0BGHXU9nBGe64biw0Dib5fQhH+bmaqwD/Qu+sGB0HP74lh HF2kLA4qEg0JObbAK2F9Z08LLnoYiEjxS2FWAKgq7bPuoMP0shzmsxzpSULKiqz/e4gIU2 +mw46cMmrPT8GDTPkqZpquPdxO/hRSF860DO+1MyQeederXQxw+AG8DExF9WUqI6I1bkxS fsCW3XqQykAOMhhQ4fxiYsQuHfp9PHL0Gim1u1yK1900Ax7soTW7jgbTSILEYEkYQLZ+AG DYKSfCoscb+IQsnFeeeDfkkRcY73asoQYiOkRpQNt3IbFIbrpYuwuvYWcUUjfw== 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 4Ss9nt2TKqz1C02; Fri, 15 Dec 2023 13:59:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BFDxku3015634; Fri, 15 Dec 2023 13:59:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BFDxkVX015631; Fri, 15 Dec 2023 13:59:46 GMT (envelope-from git) Date: Fri, 15 Dec 2023 13:59:46 GMT Message-Id: <202312151359.3BFDxkVX015631@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Roger Pau =?utf-8?Q?Monn=C3=A9?= Subject: git: ed917e0faea8 - main - xen/intr: correct type of evtchn_enabled List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: royger X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed917e0faea8453551b0ee9728c5d328e2e3e412 Auto-Submitted: auto-generated The branch main has been updated by royger: URL: https://cgit.FreeBSD.org/src/commit/?id=ed917e0faea8453551b0ee9728c5d328e2e3e412 commit ed917e0faea8453551b0ee9728c5d328e2e3e412 Author: Elliott Mitchell AuthorDate: 2023-12-02 15:29:43 +0000 Commit: Roger Pau Monné CommitDate: 2023-12-15 13:59:25 +0000 xen/intr: correct type of evtchn_enabled evtchn_enabled needs to match the type of Xen's evtchn_mask. As Xen's headers have a type for this, use Xen's type. Reviewed by: royger --- sys/dev/xen/bus/xen_intr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/bus/xen_intr.c b/sys/dev/xen/bus/xen_intr.c index 75750aa5b0bf..3e44c05ceeb7 100644 --- a/sys/dev/xen/bus/xen_intr.c +++ b/sys/dev/xen/bus/xen_intr.c @@ -84,7 +84,7 @@ struct xen_intr_pcpu_data { * A bitmap of ports that can be serviced from this CPU. * A set bit means interrupt handling is enabled. */ - u_long evtchn_enabled[sizeof(u_long) * 8]; + xen_ulong_t evtchn_enabled[sizeof(xen_ulong_t) * 8]; }; /*