From nobody Thu Oct 13 00:51:24 2022 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 4MnrYn1DNfz4fVyY; Thu, 13 Oct 2022 00:51:25 +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 4MnrYn0gpRz3FhK; Thu, 13 Oct 2022 00:51:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665622285; 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=ojAbv2yORa39v0YhjpEulQmqe8NBDkB3FEvKh/cnMfY=; b=wFwIXhsIHQG9hUiWI5pWqH+JHNDAv3pvpTYBPWKkizSlKirqP2iw2oaVeIsS5wKtao4c19 zhX7RwavllmFGibhlCCsiFhXw10uerTnfq6dxCv9JZxYFM0yOAPvhxpmW4/W5JkUSzXAVe 9ll2e/Mr40agjMTYoygJtGzAy1J3B8soWSCYT893DEfMp65E6QsFq4QOLzZwfhlk6zhQSt SNo2VRc3byRoy6vNZgengyse/UTASTOeghqRlWyD1yayXH8OY+tOP85WZohXjOdwe4odWc yH6dETC9rZgFkqWIeVhjsglpmanGYY5xmtx5c0MWzNLncpmC6YSL1UZN6mbHIA== 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 4MnrYm6mclzFfJ; Thu, 13 Oct 2022 00:51:24 +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 29D0pOiW015162; Thu, 13 Oct 2022 00:51:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29D0pOf8015161; Thu, 13 Oct 2022 00:51:24 GMT (envelope-from git) Date: Thu, 13 Oct 2022 00:51:24 GMT Message-Id: <202210130051.29D0pOf8015161@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 4ec4cd727bd0 - stable/13 - bhyve: Address -Wno-unused warnings in atkbd.c 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 4ec4cd727bd0f25240e017faa50da6635b8bc442 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665622285; 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=ojAbv2yORa39v0YhjpEulQmqe8NBDkB3FEvKh/cnMfY=; b=ZJldi5PogF2mn6AAFVjHJ1BDat6pEcV4dgSOE5JQMvBhAkTr6bDqI46cYEnuFz6uqPuxMQ 4Pxp3uwWOa9vhEdRFeObeTvkgc7XQTme1A7iXUOPG6oeyHEUtmLyRmZqnpCaDRBZyHSHcg ix+oIlcgRR0EL5+aKQQB5MgMoNDqxcvpNe16EfdJ4/sJ4PDvrkZdalUXPnzNbTHhE8HO6I GpDhwMC8xzV/PWEQrr8ZXs1Oz171R60+HwgHcry+lfnOT6YIP/Tl2aSK/i5ov9Z5Kdjavm O3/dMrTNwD4hNHeRhfoh8DrdC2fV4xE4vRywGviPeFGG1Rqs93d7rpxPqhVS+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665622285; a=rsa-sha256; cv=none; b=BLEkbHT+FLGcNNgGPuuPnxVIXTQKsSyaqStJ+vJ298qfaki0ZNQJuuiJvIzi1OnNnRS86c dwGKOu7fYGa1OfbRN2yq44z7UBKNhk1ipKwPiDQe6XKULNmyhitvpjNTnNPiyUIj2BonEY +byYSqQwyC9ZINgLPMJmhirIfKfC9z1DU7V1PvUoA9cdrjskhicioUq38fDEdU+B5Yah6a pAVUTraVuxlRikMLKFLpXDL+nvS+Iz37pzMEGzu7RTy8L2Qg8AWSERnOzde38Q2o8wrjxn Y3NfUqMOKFtCRKwoZN4VKjsGpTU635IYoXhE53yDHc1iQUV6uGmoRTkpQX9vcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=4ec4cd727bd0f25240e017faa50da6635b8bc442 commit 4ec4cd727bd0f25240e017faa50da6635b8bc442 Author: Mark Johnston AuthorDate: 2022-09-08 22:48:03 +0000 Commit: Mark Johnston CommitDate: 2022-10-13 00:46:00 +0000 bhyve: Address -Wno-unused warnings in atkbd.c (cherry picked from commit 57d96d8df99129080a3950bf3f8806d9ebf01a64) --- usr.sbin/bhyve/atkbdc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bhyve/atkbdc.c b/usr.sbin/bhyve/atkbdc.c index a08f58f84b22..42430ad1169e 100644 --- a/usr.sbin/bhyve/atkbdc.c +++ b/usr.sbin/bhyve/atkbdc.c @@ -307,8 +307,8 @@ atkbdc_dequeue_data(struct atkbdc_softc *sc, uint8_t *buf) } static int -atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, - uint32_t *eax, void *arg) +atkbdc_data_handler(struct vmctx *ctx __unused, int vcpu __unused, int in, + int port __unused, int bytes, uint32_t *eax, void *arg) { struct atkbdc_softc *sc; uint8_t buf; @@ -393,8 +393,8 @@ atkbdc_data_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, } static int -atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu, int in, int port, - int bytes, uint32_t *eax, void *arg) +atkbdc_sts_ctl_handler(struct vmctx *ctx, int vcpu __unused, int in, + int port __unused, int bytes, uint32_t *eax, void *arg) { struct atkbdc_softc *sc; int error, retval;