Fix some common typos in source code comments
- s/struture/structure/ - s/structre/structure/ MFC after: 5 days
This commit is contained in:
parent
825fb07c55
commit
17db4b52fb
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -149,7 +149,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
|
||||
|
Loading…
Reference in New Issue
Block a user