Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Sep 2022 11:28:59 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f2e13c27bbd1 - main - vmci(4): Correct some typos in source code comments
Message-ID:  <202209041128.284BSxxc047746@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=f2e13c27bbd1c2d385a572e97cc19ba122b74986

commit f2e13c27bbd1c2d385a572e97cc19ba122b74986
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-04 11:28:47 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-04 11:28:47 +0000

    vmci(4): Correct some typos in source code comments
    
    - s/occured/occurred/
    
    MFC after:      3 days
---
 sys/dev/vmware/vmci/vmci_qpair.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/vmware/vmci/vmci_qpair.c b/sys/dev/vmware/vmci/vmci_qpair.c
index 336dc9eb342b..a3cb69d00df4 100644
--- a/sys/dev/vmware/vmci/vmci_qpair.c
+++ b/sys/dev/vmware/vmci/vmci_qpair.c
@@ -486,7 +486,7 @@ vmci_qpair_consume_buf_ready(const struct vmci_qpair *qpair)
  *     VMCI_ERROR_QUEUEPAIR_NOSPACE if no space was available to enqueue data.
  *     VMCI_ERROR_INVALID_SIZE, if any queue pointer is outside the queue
  *     (as defined by the queue size).
- *     VMCI_ERROR_INVALID_ARGS, if an error occured when accessing the buffer.
+ *     VMCI_ERROR_INVALID_ARGS, if an error occurred when accessing the buffer.
  *     VMCI_ERROR_QUEUEPAIR_NOTATTACHED, if the queue pair pages aren't
  *     available.
  *     Otherwise, the number of bytes written to the queue is returned.
@@ -557,7 +557,7 @@ enqueue(struct vmci_queue *produce_q, struct vmci_queue *consume_q,
  *     VMCI_ERROR_QUEUEPAIR_NODATA if no data was available to dequeue.
  *     VMCI_ERROR_INVALID_SIZE, if any queue pointer is outside the queue
  *     (as defined by the queue size).
- *     VMCI_ERROR_INVALID_ARGS, if an error occured when accessing the buffer.
+ *     VMCI_ERROR_INVALID_ARGS, if an error occurred when accessing the buffer.
  *     VMCI_ERROR_NOT_FOUND, if the vmm_world registered with the queue pair
  *     cannot be found.
  *     Otherwise the number of bytes dequeued is returned.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209041128.284BSxxc047746>