diff options
author | Masanari Iida | 2013-08-20 14:00:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-08-21 19:02:29 +0200 |
commit | 253d50ebda91154a03767b0a97ef99c293b175b2 (patch) | |
tree | 057c6b2b85e8bbcad5258facb4a53116c64732e4 | |
parent | staging: vt6656: rxtx.c dead code TYPE_ATIMDMA/TYPE_BEACONDMA (diff) | |
download | kernel-qcow2-linux-253d50ebda91154a03767b0a97ef99c293b175b2.tar.gz kernel-qcow2-linux-253d50ebda91154a03767b0a97ef99c293b175b2.tar.xz kernel-qcow2-linux-253d50ebda91154a03767b0a97ef99c293b175b2.zip |
staging: lustre: Fix typo in lustre/include
Fix spelling typo in comments within lustre/include/linux.
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
7 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h index 64ca62f0cc93..776e9c0e48c1 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_crypto.h @@ -136,13 +136,13 @@ int cfs_crypto_hash_digest(unsigned char alg, /* cfs crypto hash descriptor */ struct cfs_crypto_hash_desc; -/** Allocate and initialize desriptor for hash algorithm. +/** Allocate and initialize descriptor for hash algorithm. * @param alg algorithm id * @param key initial value for algorithm, if it is NULL, * default initial value should be used. * @param key_len len of initial value * @returns pointer to descriptor of hash instance - * @retval ERR_PTR(error) when errors occured. + * @retval ERR_PTR(error) when errors occurred. */ struct cfs_crypto_hash_desc* cfs_crypto_hash_init(unsigned char alg, @@ -175,7 +175,7 @@ int cfs_crypto_hash_update(struct cfs_crypto_hash_desc *desc, const void *buf, * @param desc hash descriptor * @param hash buffer pointer to store hash digest * @param hash_len pointer to hash buffer size, if NULL - * destory hash descriptor + * destroy hash descriptor * @returns status of operation * @retval -ENOSPC if hash is NULL, or *hash_len less than * digest size @@ -195,7 +195,7 @@ int cfs_crypto_register(void); void cfs_crypto_unregister(void); /** Return hash speed in Mbytes per second for valid hash algorithm - * identifier. If test was unsuccessfull -1 would be return. + * identifier. If test was unsuccessful -1 would be returned. */ int cfs_crypto_hash_speed(unsigned char hash_alg); #endif diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h index f6361b3f0a0c..98f5be243c8e 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_hash.h @@ -720,7 +720,7 @@ __u64 cfs_hash_size_get(cfs_hash_t *hs); /* * Rehash - Theta is calculated to be the average chained - * hash depth assuming a perfectly uniform hash funcion. + * hash depth assuming a perfectly uniform hash function. */ void cfs_hash_rehash_cancel_locked(cfs_hash_t *hs); void cfs_hash_rehash_cancel(cfs_hash_t *hs); diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h index b033aa499def..d0d942ced01a 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_private.h @@ -229,7 +229,7 @@ void libcfs_debug_set_level(unsigned int debug_level); */ void *cfs_percpt_alloc(struct cfs_cpt_table *cptab, unsigned int size); /* - * destory per-cpu-partition variable + * destroy per-cpu-partition variable */ void cfs_percpt_free(void *vars); int cfs_percpt_number(void *vars); diff --git a/drivers/staging/lustre/include/linux/libcfs/linux/linux-lock.h b/drivers/staging/lustre/include/linux/libcfs/linux/linux-lock.h index 6fbcbf3ab0d3..d6e00f92e4a0 100644 --- a/drivers/staging/lustre/include/linux/libcfs/linux/linux-lock.h +++ b/drivers/staging/lustre/include/linux/libcfs/linux/linux-lock.h @@ -52,7 +52,7 @@ * IMPORTANT !!!!!!!! * * All locks' declaration are not guaranteed to be initialized, - * Althought some of they are initialized in Linux. All locks + * although some of them are initialized in Linux. All locks * declared by CFS_DECL_* should be initialized explicitly. */ diff --git a/drivers/staging/lustre/include/linux/lnet/lib-types.h b/drivers/staging/lustre/include/linux/lnet/lib-types.h index 86428d4b993e..538e4ffa7a18 100644 --- a/drivers/staging/lustre/include/linux/lnet/lib-types.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-types.h @@ -181,11 +181,11 @@ typedef struct lnet_msg { lnet_nid_t msg_from; __u32 msg_type; - /* commited for sending */ + /* committed for sending */ unsigned int msg_tx_committed:1; /* CPT # this message committed for sending */ unsigned int msg_tx_cpt:15; - /* commited for receiving */ + /* committed for receiving */ unsigned int msg_rx_committed:1; /* CPT # this message committed for receiving */ unsigned int msg_rx_cpt:15; diff --git a/drivers/staging/lustre/include/linux/lnet/lnetst.h b/drivers/staging/lustre/include/linux/lnet/lnetst.h index d90f94e94601..e060599314d5 100644 --- a/drivers/staging/lustre/include/linux/lnet/lnetst.h +++ b/drivers/staging/lustre/include/linux/lnet/lnetst.h @@ -59,7 +59,7 @@ #define LSTIO_SESSION_INFO 0xC03 /* query session */ #define LSTIO_GROUP_ADD 0xC10 /* add group */ #define LSTIO_GROUP_LIST 0xC11 /* list all groups in session */ -#define LSTIO_GROUP_INFO 0xC12 /* query defailt infomation of specified group */ +#define LSTIO_GROUP_INFO 0xC12 /* query default information of specified group */ #define LSTIO_GROUP_DEL 0xC13 /* delete group */ #define LSTIO_NODES_ADD 0xC14 /* add nodes to specified group */ #define LSTIO_GROUP_UPDATE 0xC15 /* update group */ diff --git a/drivers/staging/lustre/include/linux/lnet/ptllnd.h b/drivers/staging/lustre/include/linux/lnet/ptllnd.h index fc1ce8ed1f8b..564f5d3a9b4d 100644 --- a/drivers/staging/lustre/include/linux/lnet/ptllnd.h +++ b/drivers/staging/lustre/include/linux/lnet/ptllnd.h @@ -68,7 +68,7 @@ /* Can compare handles directly on Cray Portals */ #define PtlHandleIsEqual(a,b) ((a) == (b)) -/* Diffrent error types on Cray Portals*/ +/* Different error types on Cray Portals*/ #define ptl_err_t ptl_ni_fail_t /* @@ -76,7 +76,7 @@ * maximum is limited only by memory and size of the * int parameters (2^31-1). * Lustre only really require that the underyling - * implemenation to support at least LNET_MAX_IOV, + * implementation to support at least LNET_MAX_IOV, * so for Cray portals we can safely just use that * value here. * |