From nobody Fri Jun 2 02:33:43 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 4QXRrl6vGvz4ZNWY; Fri, 2 Jun 2023 02:33:43 +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 4QXRrl69gnz3PFB; Fri, 2 Jun 2023 02:33:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673223; 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=7+ldXeV0VV6U8tDqr0PeVGo6woLquoccnjML3xbeqos=; b=QapsKFi5gtGOcCImFqTJ72K2a6iHkQpIxCQM78tLZ82Ft13HY2my7aue3MNuOLFkBQ0ibP Eyq9jrzxbccGzafOyXFWR0IT+/aubOPmnpBl9FdrIvNveQoLstlK+u9JNi8iEkVeKSHN4O iMp+NlFk2Qyt31vEA/enw0rSpVuuCwdA3e5J1EjwzY4NrZvEu2DR8EKMaxRJrM4N9GzU46 9tYIu7ZSC3ajFs0vQCr/g3EbJK570K7nnxpA+3QDJPipwkkZW7Q/KuM0RN8CZsWosSfjX2 y5onge16CGXMurfERWcib+P+8D88TvuxZ2Csn2WdeMsglmny/60ppn9FPknv8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673223; 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=7+ldXeV0VV6U8tDqr0PeVGo6woLquoccnjML3xbeqos=; b=EWS2um5Vn2JsuZLpRNfPc7A5iBY1V8odMUNhwZlGdXwd6mjFNDD9QIJrvM6sZu7rpR970x AusiyL2nPXAU6Cx0bkIr6Fq15qSEZyGhqaWTIQ0zxfyUZWxOl1mll0hAg6KVbp2iFGDkxH drS+YrZCkk26pqZQtDgabtXZwn6pBM4R6FsLwrWX1/QxrKg2+YJyum35OwnxbJFmoVEsLo fEgxIj+YpfLcsQbfRXKVNkTT4AAcfXsbGxZE6bEDrJUUMhTnweS7j+i+UKzs6+6jikV2ZF EZXZ6A6kEEkZXZXmnXsoDntLA3vn5lwto0JnlRkNQJ+etexjenT4HON1NBaX6Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685673223; a=rsa-sha256; cv=none; b=EuBnsM9ybh9t4pTmnc5BkGJpDJ3IzA2VxpY5DMJnVjxCSX55p25A4sAFCxCVB7ZA83Ex8J 6/06PXv8uJU5xZ8ImdpFkDrhgwxKeF1HF5FqfaRcR6UEIS5cAQ7+xx7vcOkmGty0+6MFQ+ i5adh6QKyN2SZ8odFlLGuzjAMhKcIKp39pprzQmMq7TLbszPBY6ng2O+qmGM43b0H181Td zJZmRyeYYav81R6BeS0dCHQhWPzOSaXA7cBgqwYbdxU7Y/lkbUsm2YDcALxbz1oEC2ygNy CbOkWG9gbpqoozAmooHoVR6vOGx4PcFQxFcdCkABWZS8VJ5kw9Bw5MrbUvW3Gg== 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 4QXRrl5G7XzhpK; Fri, 2 Jun 2023 02:33:43 +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 3522Xh7B005134; Fri, 2 Jun 2023 02:33:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3522XhrJ005133; Fri, 2 Jun 2023 02:33:43 GMT (envelope-from git) Date: Fri, 2 Jun 2023 02:33:43 GMT Message-Id: <202306020233.3522XhrJ005133@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 0dc159ced718 - main - bhyve: Fix typos 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0dc159ced7183e969a3b0be9f3f4411e5768e32a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0dc159ced7183e969a3b0be9f3f4411e5768e32a commit 0dc159ced7183e969a3b0be9f3f4411e5768e32a Author: Elyes Haouas AuthorDate: 2023-06-01 23:41:31 +0000 Commit: Warner Losh CommitDate: 2023-06-02 02:33:38 +0000 bhyve: Fix typos Signed-off-by: Elyes Haouas Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- usr.sbin/bhyve/acpi.c | 2 +- usr.sbin/bhyve/bhyverun.c | 2 +- usr.sbin/bhyve/config.c | 2 +- usr.sbin/bhyve/net_backends.h | 2 +- usr.sbin/bhyve/pci_nvme.c | 4 ++-- usr.sbin/bhyve/pci_virtio_net.c | 2 +- usr.sbin/bhyve/usb_emul.h | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/usr.sbin/bhyve/acpi.c b/usr.sbin/bhyve/acpi.c index fcf6858f40b9..c8fc65cb3b6e 100644 --- a/usr.sbin/bhyve/acpi.c +++ b/usr.sbin/bhyve/acpi.c @@ -422,7 +422,7 @@ basl_make_templates(void) if (!err) { /* - * len has been intialized (and maybe adjusted) above + * len has been initialized (and maybe adjusted) above */ if ((len + sizeof(BHYVE_ASL_TEMPLATE) + 1 + sizeof(BHYVE_ASL_SUFFIX)) < MAXPATHLEN) { diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index ef5968ba6385..df9e1924a525 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/usr.sbin/bhyve/bhyverun.c @@ -1503,7 +1503,7 @@ main(int argc, char *argv[]) } /* - * Exit if a device emulation finds an error in its initilization + * Exit if a device emulation finds an error in its initialization */ if (init_pci(ctx) != 0) { perror("device emulation initialization error"); diff --git a/usr.sbin/bhyve/config.c b/usr.sbin/bhyve/config.c index ba51f81dd011..c844d30f2f74 100644 --- a/usr.sbin/bhyve/config.c +++ b/usr.sbin/bhyve/config.c @@ -144,7 +144,7 @@ set_config_value_node(nvlist_t *parent, const char *name, const char *value) nvlist_free_string(parent, name); else if (nvlist_exists(parent, name)) errx(4, - "Attemping to add value %s to existing node %s of list %p", + "Attempting to add value %s to existing node %s of list %p", value, name, parent); nvlist_add_string(parent, name, value); } diff --git a/usr.sbin/bhyve/net_backends.h b/usr.sbin/bhyve/net_backends.h index 844024e7bc9d..cc8c7b5cff32 100644 --- a/usr.sbin/bhyve/net_backends.h +++ b/usr.sbin/bhyve/net_backends.h @@ -55,7 +55,7 @@ void netbe_rx_enable(net_backend_t *be); /* * Network device capabilities taken from the VirtIO standard. - * Despite the name, these capabilities can be used by different frontents + * Despite the name, these capabilities can be used by different frontends * (virtio-net, ptnet) and supported by different backends (netmap, tap, ...). */ #define VIRTIO_NET_F_CSUM (1 << 0) /* host handles partial cksum */ diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c index f3f10cba7502..de5865220155 100644 --- a/usr.sbin/bhyve/pci_nvme.c +++ b/usr.sbin/bhyve/pci_nvme.c @@ -1914,7 +1914,7 @@ nvme_opc_format_nvm(struct pci_nvme_softc* sc, struct nvme_command* command, return (1); } - /* Doesn't support Protection Infomation */ + /* Doesn't support Protection Information */ pi = (command->cdw10 >> 5) & 0x7; if (pi != 0) { pci_nvme_status_genc(&compl->status, NVME_SC_INVALID_FIELD); @@ -2124,7 +2124,7 @@ pci_nvme_handle_admin_cmd(struct pci_nvme_softc* sc, uint64_t value) * * NVMe defines "data unit" as thousand's of 512 byte blocks and is rounded up. * E.g. 1 data unit is 1 - 1,000 512 byte blocks. 3 data units are 2,001 - 3,000 - * 512 byte blocks. Rounding up is acheived by initializing the remainder to 999. + * 512 byte blocks. Rounding up is achieved by initializing the remainder to 999. */ static void pci_nvme_stats_write_read_update(struct pci_nvme_softc *sc, uint8_t opc, diff --git a/usr.sbin/bhyve/pci_virtio_net.c b/usr.sbin/bhyve/pci_virtio_net.c index 9af5854037fe..dd60c5a89523 100644 --- a/usr.sbin/bhyve/pci_virtio_net.c +++ b/usr.sbin/bhyve/pci_virtio_net.c @@ -787,7 +787,7 @@ pci_vtnet_snapshot(void *vsc, struct vm_snapshot_meta *meta) SNAPSHOT_VAR_OR_LEAVE(sc->vsc_features, meta, ret, done); SNAPSHOT_VAR_OR_LEAVE(sc->features_negotiated, meta, ret, done); - /* Force reapply negociated features at restore time */ + /* Force reapply negotiated features at restore time */ if (meta->op == VM_SNAPSHOT_RESTORE && sc->features_negotiated) { pci_vtnet_neg_features(sc, sc->vsc_features); diff --git a/usr.sbin/bhyve/usb_emul.h b/usr.sbin/bhyve/usb_emul.h index 1d713bc55cdc..b2122d6b7e13 100644 --- a/usr.sbin/bhyve/usb_emul.h +++ b/usr.sbin/bhyve/usb_emul.h @@ -91,7 +91,7 @@ struct usb_hci { /* * Each xfer block is mapped to the hci transfer block. - * On input into the device handler, blen is set to the lenght of buf. + * On input into the device handler, blen is set to the length of buf. * The device handler is to update blen to reflect on the residual size * of the buffer, i.e. len(buf) - len(consumed). */