From nobody Thu Sep 29 16:37:42 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 4MdfD64c05z4dgtJ; Thu, 29 Sep 2022 16:37:42 +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 4MdfD63tvqz42rZ; Thu, 29 Sep 2022 16:37:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664469462; 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=ilfHwDOAQwuF9caD7859VXJ3CJXmj+zpQpCbQltLMN0=; b=Kf8M3ZeVU5XYsnvlOxdEUtXpLHK8vxIY6Yz0bbIJtwJSj4DtDinQOqXqG/8KTPoZZeCzVP JGif39etiahRWxAg4bVx9Wq/cCFG/C+AoThW/+NhH09PZwS4YpAs38wPUp79BHIpvmluY8 wgRNWnszBkluHC7hOgc7M8PgTEduH0mCzBRp5voN3MzkunSIQ5Z9uwwzq/qaa1/ypnukSd spc129WXkwVo0Q4W4XFeD19hrlLKW7vGTqBCyJNt65dMZ+Jy933c4AgT99tud4+zcdUJ1D JkOiIeappcK/pzn+vbHYz8AGbd8/mTbgLWC4GhTs+RIeTy8v0ccnWreUXblV1w== 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 4MdfD62mKVzsgp; Thu, 29 Sep 2022 16:37:42 +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 28TGbgdB090416; Thu, 29 Sep 2022 16:37:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28TGbgqt090415; Thu, 29 Sep 2022 16:37:42 GMT (envelope-from git) Date: Thu, 29 Sep 2022 16:37:42 GMT Message-Id: <202209291637.28TGbgqt090415@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: 57d96d8df991 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 57d96d8df99129080a3950bf3f8806d9ebf01a64 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664469462; 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=ilfHwDOAQwuF9caD7859VXJ3CJXmj+zpQpCbQltLMN0=; b=L+SGx6wpLcNV+sUrd+Jrc4mJU7SexI+TVWKoVltF8Lo2KAnhla5hS3igBI/d9SrW/2yiKg bf511wSTBbcrlhDsI5zRmSXKxo3m9vx8lvwb4VP/MKnsSFZsh5VmIXhR+fVNoEyEKkP8Rj ET9L/YkuiIZWIY+7YmGl505nfxd/gxDWJ8x9E7kESMfJBvUUB7oPNJrY2yQJxv6ie53Fq7 4Ge5EjtaWTwpEIstfBP3xTB31ngFBXIT2HxslWI3tY7GDNu+apxTHpVlsdXtIksHYtmwec rurJsFBSYJdnAigJwH4GHsRRKl3oCoTSWKgi8pnTB/qXyIeM2xxevgW+4jXLqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664469462; a=rsa-sha256; cv=none; b=lYtz/l7n3tMfaSC2cAQh87SbXOoYYuBLiQVYhY/vdfTrzGxBe2jXc/tBMX6BclEDap/bcL ONE5wyCnvsSsVeUZcSVmvfk+v8TZjXJtTBNyGD1+ffvrKzRRoqRClbb+9PZEmrXt0UeA93 P8X34N5UufkdX4xBnkbRdXmSLUKmEwNerUkuPqE3R9K2/NIYv1cpCKco2cgKpqj4loxzzz ck/5RbC1prm0gothA+NI7jlZTm2om9CKz8OMB763EBSqDtSqc0tWV5i7S9Nw7K1IimipDW vlbeCfnexE4BMWclviZyRtNAHvxt6UV0Xu2rfbDhoxT/aUS++QEMLlJlodDQWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=57d96d8df99129080a3950bf3f8806d9ebf01a64 commit 57d96d8df99129080a3950bf3f8806d9ebf01a64 Author: Mark Johnston AuthorDate: 2022-09-08 22:48:03 +0000 Commit: Mark Johnston CommitDate: 2022-09-29 16:36:44 +0000 bhyve: Address -Wno-unused warnings in atkbd.c MFC after: 2 weeks --- 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;