Date: Thu, 19 Aug 2021 07:28:22 GMT From: Gordon Bergling <gbe@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ab4864fba27a - stable/13 - Fix some common typos in source code comments Message-ID: <202108190728.17J7SMTh014813@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <gbe@FreeBSD.org> AuthorDate: 2021-08-14 06:55:58 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190728.17J7SMTh014813>