From owner-dev-commits-src-all@freebsd.org Thu Aug 19 07:28:22 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AB8C665FC1C; Thu, 19 Aug 2021 07:28:22 +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 4GqxFf4RrRz3lk3; Thu, 19 Aug 2021 07:28:22 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 81FDA214BD; Thu, 19 Aug 2021 07:28:22 +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 17J7SMmd014814; Thu, 19 Aug 2021 07:28:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17J7SMTh014813; Thu, 19 Aug 2021 07:28:22 GMT (envelope-from git) Date: Thu, 19 Aug 2021 07:28:22 GMT Message-Id: <202108190728.17J7SMTh014813@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: ab4864fba27a - stable/13 - Fix some common typos in source code comments MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: ab4864fba27a141dba0929afd8432b94ad77e873 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2021 07:28:22 -0000 The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=ab4864fba27a141dba0929afd8432b94ad77e873 commit ab4864fba27a141dba0929afd8432b94ad77e873 Author: Gordon Bergling AuthorDate: 2021-08-14 06:55:58 +0000 Commit: Gordon Bergling CommitDate: 2021-08-19 07:28:06 +0000 Fix some common typos in source code comments - s/struture/structure/ - s/structre/structure/ (cherry picked from commit 17db4b52fb41aeabeb945c68c1b5edd4db4eac31) --- sys/dev/bce/if_bce.c | 4 ++-- sys/dev/drm2/drm_platform.c | 2 +- sys/dev/isci/scil/intel_ata.h | 2 +- sys/dev/isci/scil/sci_overview.h | 2 +- sys/dev/liquidio/base/lio_device.h | 2 +- sys/dev/pms/RefTisa/sallsdk/api/sa.h | 2 +- sys/dev/pms/RefTisa/sallsdk/spc/sallist.h | 2 +- sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c | 2 +- sys/dev/pms/freebsd/driver/common/lxcommon.h | 2 +- sys/sys/jail.h | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index d6c5a2bf091f..869d8f9fc40e 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -3163,7 +3163,7 @@ bce_init_media(struct bce_softc *sc) /****************************************************************************/ /* Free any DMA memory owned by the driver. */ /* */ -/* Scans through each data structre that requires DMA memory and frees */ +/* Scans through each data structure that requires DMA memory and frees */ /* the memory if allocated. */ /* */ /* Returns: */ @@ -5553,7 +5553,7 @@ bce_init_tx_chain(struct bce_softc *sc) DBRUN(sc->tx_full_count = 0); /* - * The NetXtreme II supports a linked-list structre called + * The NetXtreme II supports a linked-list structure called * a Buffer Descriptor Chain (or BD chain). A BD chain * consists of a series of 1 or more chain pages, each of which * consists of a fixed number of BD entries. diff --git a/sys/dev/drm2/drm_platform.c b/sys/dev/drm2/drm_platform.c index a8972b44f5f1..17f3367719e2 100644 --- a/sys/dev/drm2/drm_platform.c +++ b/sys/dev/drm2/drm_platform.c @@ -107,7 +107,7 @@ static struct drm_bus drm_platform_bus = { /** * Register. * - * \param platdev - Platform device struture + * \param platdev - Platform device structure * \return zero on success or a negative number on failure. * * Attempt to gets inter module "drm" information. If we are first diff --git a/sys/dev/isci/scil/intel_ata.h b/sys/dev/isci/scil/intel_ata.h index 86f584b35d61..e213d0efcb06 100644 --- a/sys/dev/isci/scil/intel_ata.h +++ b/sys/dev/isci/scil/intel_ata.h @@ -244,7 +244,7 @@ * * The following constants define bit masks utilized to determine if a * feature is supported/enabled or if a bit is simply set inside of the - * IDENTIFY DEVICE data structre. + * IDENTIFY DEVICE data structure. */ /*@{*/ #define ATA_IDENTIFY_REMOVABLE_MEDIA_ENABLE 0x0080 diff --git a/sys/dev/isci/scil/sci_overview.h b/sys/dev/isci/scil/sci_overview.h index 3cde341efb1f..cba4f8351fbd 100644 --- a/sys/dev/isci/scil/sci_overview.h +++ b/sys/dev/isci/scil/sci_overview.h @@ -216,7 +216,7 @@ associate one object to another. An SCI object can be made to have an association to another SCI object. Additionally, an SCI object can be made to have an association to a non-SCI based object. For example, an SCI Framework library can have it's association set to an operating system -specific adapter/device driver structre. +specific adapter/device driver structure. Simply put, the association that an object has is a handle (i.e. a void pointer) to a user structure. This enables the user of the SCI object to diff --git a/sys/dev/liquidio/base/lio_device.h b/sys/dev/liquidio/base/lio_device.h index d5ba3361b2fc..de07f604fd9c 100644 --- a/sys/dev/liquidio/base/lio_device.h +++ b/sys/dev/liquidio/base/lio_device.h @@ -799,7 +799,7 @@ void *lio_get_config_info(struct octeon_device *oct, uint16_t card_type); /* * Gets the octeon device configuration - * @return - pointer to the octeon configuration struture + * @return - pointer to the octeon configuration structure */ struct lio_config *lio_get_conf(struct octeon_device *oct); diff --git a/sys/dev/pms/RefTisa/sallsdk/api/sa.h b/sys/dev/pms/RefTisa/sallsdk/api/sa.h index e13db5390f4e..e702dd4fb23a 100644 --- a/sys/dev/pms/RefTisa/sallsdk/api/sa.h +++ b/sys/dev/pms/RefTisa/sallsdk/api/sa.h @@ -1660,7 +1660,7 @@ typedef struct agsaContext_s void *sdkData; /**< Pointer-sized value used internally by the LL Layer */ } agsaContext_t; -/** \brief hold points to global data strutures used by the LL and OS Layers +/** \brief hold points to global data structures used by the LL and OS Layers * * The agsaRoot_t data structure is used to hold pointer-sized values for * internal use by the LL and OS Layers. It is intended that the diff --git a/sys/dev/pms/RefTisa/sallsdk/spc/sallist.h b/sys/dev/pms/RefTisa/sallsdk/spc/sallist.h index 0203a64f6f65..8ed9fb325445 100644 --- a/sys/dev/pms/RefTisa/sallsdk/spc/sallist.h +++ b/sys/dev/pms/RefTisa/sallsdk/spc/sallist.h @@ -40,7 +40,7 @@ /** \brief Structure of Link Data * * link data, need to be included at the start (offset 0) - * of any strutures that are to be stored in the link list + * of any structures that are to be stored in the link list * */ typedef struct _SALINK diff --git a/sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c b/sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c index 89ac376caaff..eeaac814d1c2 100644 --- a/sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c +++ b/sys/dev/pms/RefTisa/tisa/sassata/common/tdinit.c @@ -2496,7 +2496,7 @@ tdsaSharedMemCalculate( #endif #ifdef TD_DISCOVER - /* adding expander data strutures */ + /* adding expander data structures */ tdSharedMem->tdSharedCachedMem1.singleElementLength += sizeof(tdsaExpander_t) * MaxTargets; #endif diff --git a/sys/dev/pms/freebsd/driver/common/lxcommon.h b/sys/dev/pms/freebsd/driver/common/lxcommon.h index bbe33cf1fef7..5968ecba8021 100644 --- a/sys/dev/pms/freebsd/driver/common/lxcommon.h +++ b/sys/dev/pms/freebsd/driver/common/lxcommon.h @@ -614,7 +614,7 @@ bit8 *data; //buffer /* ** link data, need to be included at the start (offset 0) -** of any strutures that are to be stored in the link list +** of any structures that are to be stored in the link list */ typedef struct _LINK_NODE { diff --git a/sys/sys/jail.h b/sys/sys/jail.h index c9d4c65e4d9e..f863a523b917 100644 --- a/sys/sys/jail.h +++ b/sys/sys/jail.h @@ -148,7 +148,7 @@ struct prison_racct; /* * This structure describes a prison. It is pointed to by all struct * ucreds's of the inmates. pr_ref keeps track of them and is used to - * delete the struture when the last inmate is dead. + * delete the structure when the last inmate is dead. * * Lock key: * (a) allprison_lock