git: b197d4b89397 - main - qat(4): Correct some typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 10:51:32 UTC
The branch main has been updated by gbe (doc committer):

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

commit b197d4b893974c9eb4d7b38704c6d5c486235d6f
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-04 10:51:22 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-04 10:51:22 +0000

    qat(4): Correct some typos in source code comments
    
    - s/occured/occurred/
    - s/the the/the/
    
    MFC after:      3 days
---
 sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_cipher.h | 2 +-
 sys/dev/qat/qat_api/common/include/lac_sal.h                       | 2 +-
 sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h               | 6 +++---
 sys/dev/qat/qat_api/include/lac/cpa_cy_dh.h                        | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_cipher.h b/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_cipher.h
index 2360aa53633f..2829bca12a72 100644
--- a/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_cipher.h
+++ b/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_qat_cipher.h
@@ -150,7 +150,7 @@ void LacSymQat_CipherArc4StateInit(const Cpa8U *pKey,
  *
  * @description
  *       For XTS mode using partial packets, after the first partial response
- *       has been received, the the key length needs to be halved for subsequent
+ *       has been received, the key length needs to be halved for subsequent
  *       partials.
  *
  * @param[in] pSessionDesc      The session descriptor.
diff --git a/sys/dev/qat/qat_api/common/include/lac_sal.h b/sys/dev/qat/qat_api/common/include/lac_sal.h
index 0c431dd688e4..031cb4204084 100644
--- a/sys/dev/qat/qat_api/common/include/lac_sal.h
+++ b/sys/dev/qat/qat_api/common/include/lac_sal.h
@@ -84,7 +84,7 @@ CpaStatus SalCtrl_ServiceCreate(sal_service_type_t service,
  *                              list: service or qat
  * @param[in]  device           The ADF accelerator handle for the device
  * @param[in]  function         The function pointer to call
- * @param[in/out] status_ret    If an error occured (i.e. status returned from
+ * @param[in/out] status_ret    If an error occurred (i.e. status returned from
  *                              function is not _SUCCESS) then status_ret is
  *                              overwritten with status returned from function.
  *
diff --git a/sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h b/sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h
index 7920afbbc0da..447b1a848809 100644
--- a/sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h
+++ b/sys/dev/qat/qat_api/firmware/include/icp_qat_fw_la.h
@@ -1670,7 +1670,7 @@ typedef struct icp_qat_fw_la_key_gen_common_s {
  * @ingroup icp_qat_fw_la
  *        Definition of the SSL3 request parameters block
  * @description
- *        This structure contains the the SSL3 processing request parameters
+ *        This structure contains the SSL3 processing request parameters
  *        incorporating LWs 14-26, as defined by the common base
  *        parameters structure. Unused fields must be set to 0.
  *
@@ -1709,7 +1709,7 @@ typedef struct icp_qat_fw_la_ssl3_req_params_s {
  * @ingroup icp_qat_fw_la
  *        Definition of the MGF request parameters block
  * @description
- *        This structure contains the the MGF processing request parameters
+ *        This structure contains the MGF processing request parameters
  *        incorporating LWs 14-26, as defined by the common base parameters
  *        structure. Unused fields must be set to 0.
  *
@@ -1748,7 +1748,7 @@ typedef struct icp_qat_fw_la_mgf_req_params_s {
  * @ingroup icp_qat_fw_la
  *        Definition of the TLS request parameters block
  * @description
- *        This structure contains the the TLS processing request parameters
+ *        This structure contains the TLS processing request parameters
  *        incorporating LWs 14-26, as defined by the common base parameters
  *        structure. Unused fields must be set to 0.
  *
diff --git a/sys/dev/qat/qat_api/include/lac/cpa_cy_dh.h b/sys/dev/qat/qat_api/include/lac/cpa_cy_dh.h
index e5123c89aca5..0ee61e1f6c8d 100644
--- a/sys/dev/qat/qat_api/include/lac/cpa_cy_dh.h
+++ b/sys/dev/qat/qat_api/include/lac/cpa_cy_dh.h
@@ -228,7 +228,7 @@ typedef struct _CpaCyDhStats64 {
  * @description
  *      This function may be used to implement the Diffie-Hellman phase 1
  *      operations as defined in the PKCS #3 standard. It may be used to
- *      generate the the (local) octet string public value (PV) key.
+ *      generate the (local) octet string public value (PV) key.
  *      The prime number sizes specified in RFC 2409, 4306, and part of
  *      RFC 3526 are supported (bit sizes 6144 and 8192 from RFC 3536 are not
  *      supported).