From nobody Fri Dec 09 18:31:40 2022 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 4NTKNr6f7sz4jx8j; Fri, 9 Dec 2022 18:31:40 +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 4NTKNr5s2jz3LvM; Fri, 9 Dec 2022 18:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670610700; 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=s5n2AWupbUhbRDncHjVC3njwknUop6qCc9hPfnAuDXM=; b=KHUrClDxICcW4YcN+l/j8dZzXGUYS2sM5MeheqCBMO0CyRP3PsWhwfPU0svbOYG+aF2+I4 FAlLJGxIWW2hVeq4FaJTccjXncg8HgyIelvCUkR60PIaI4w096UlbpaUvCUOFlCE/hwQYV o1GD0bP6cVKCuGNRAeJGrZBom1PCyjgvtdCyL5+9PSHSgxkjiU7k8ex0xj+a+TV3uAIadq cBZVB8Xxb1vv2iGRl6DIw/Hy1tKhJgN92rVUPLqzRGKJnXPL5u45bji8ey8xLiQHnX+dm/ +KIsmKnOpwkhuXF4XBjSTpncHEmmyca225uvP6DP+ZuxdFjxs74UegLRcxH4rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670610700; 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=s5n2AWupbUhbRDncHjVC3njwknUop6qCc9hPfnAuDXM=; b=kW2s39isqGaVBzVEQLy4VhCtow1CkZcwgv4etGtZbYoYOLouExWvt7OOiiNqnGf/1lil2C yVCMOr7eXdAqfSNimF2XD2kUGFjXe7/fNAq7o8C4IzKpPYLhc0YDm3m3jeMYQKjG7H809g ICgq3QV32NM7vFunInwgmpPI0SlWSy9/Q88ZjmKbstb/X2DnmaszkVrnalblm3R/fGGHcT 7DcMPFNepTZEX8OiueSI0++gSfzeCY4/waJnA0emkbBDwOGWwdVrTii+NkshaEg2j/7nvJ 9zJ1lFEc+qs13lZ6BO/KWYzix9G9ibkvLk1h67FdlfRD7AKIK6Gj5dX9nERtaQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670610700; a=rsa-sha256; cv=none; b=aUqMQaurjnmY7aBoC++aVOV/UlPqp+GjbSy+J4AgapriZqriALfHtsQ9O26J2oIY689THx oBY6d87QMwKpyF+kk9eW6JhWV38SYiW0zY9wQhb++HXQ19nKU+/RJ7opi9fqz94vv1lKWs pqQQEPbb5vewSAB/MR7io4H2uXbXhFZ2aE4ysGdJe9pEVUiEoMxc05+IsjeWr5D+vj/xBz 5+NOwI7PGAABh1BWkXcmqCjggB4s0CbHlehjy43zLnhASrtCZs9rXBcFrKq+8oRPFZZg2e m18imPgc41ECeWDhKuq2VIw7P6KA2r/jjx5LBdtIQcBcoz4w2d52bUvYKmVNmw== 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 4NTKNr4wptzm0C; Fri, 9 Dec 2022 18:31:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B9IVeOo024152; Fri, 9 Dec 2022 18:31:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B9IVeS7024151; Fri, 9 Dec 2022 18:31:40 GMT (envelope-from git) Date: Fri, 9 Dec 2022 18:31:40 GMT Message-Id: <202212091831.2B9IVeS7024151@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 34781da505fd - main - bhyve: Remove unused argument from pci_nvme_handle_doorbell. 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 34781da505fd06fc7cdf18e6e0c0eb187391d2c7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=34781da505fd06fc7cdf18e6e0c0eb187391d2c7 commit 34781da505fd06fc7cdf18e6e0c0eb187391d2c7 Author: John Baldwin AuthorDate: 2022-12-09 18:27:36 +0000 Commit: John Baldwin CommitDate: 2022-12-09 18:27:36 +0000 bhyve: Remove unused argument from pci_nvme_handle_doorbell. Reviewed by: corvink, chuck, markj Differential Revision: https://reviews.freebsd.org/D37650 --- usr.sbin/bhyve/pci_nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c index a66b0abc2cc2..46bf7ba7ec45 100644 --- a/usr.sbin/bhyve/pci_nvme.c +++ b/usr.sbin/bhyve/pci_nvme.c @@ -2836,7 +2836,7 @@ complete: } static void -pci_nvme_handle_doorbell(struct vmctx *ctx __unused, struct pci_nvme_softc* sc, +pci_nvme_handle_doorbell(struct pci_nvme_softc* sc, uint64_t idx, int is_sq, uint64_t value) { DPRINTF("nvme doorbell %lu, %s, val 0x%lx", @@ -2959,7 +2959,7 @@ pci_nvme_write_bar_0(struct vmctx *ctx, struct pci_nvme_softc* sc, } else if (sc->compl_queues[idx].qbase == NULL) return; - pci_nvme_handle_doorbell(ctx, sc, idx, is_sq, value); + pci_nvme_handle_doorbell(sc, idx, is_sq, value); return; }