mips: delete duplicated words
cover mips: delete duplicated words
Delete duplicated words in arch/mips/ header files.
arch/mips/include/asm/io.h | 2 +- arch/mips/include/asm/octeon/cvmx-l2c.h | 2 +- arch/mips/include/asm/octeon/cvmx-pip.h | 2 +- arch/mips/include/asm/octeon/cvmx-pko.h | 7 +++---- arch/mips/include/asm/octeon/cvmx-pow.h | 8 ++++---- arch/mips/include/asm/octeon/octeon.h | 2 +- 6 files changed, 11 insertions(+), 12 deletions(-)
PATCH 1/6 mips: io.h: delete duplicated word
Delete the repeated word "on".
--- arch/mips/include/asm/io.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/io.h +1 -1
@@ -59,7 +59,7 @@* which all ports are being mapped. For sake of efficiency some code * assumes that this is an address that can be loaded with a single lui * instruction, so the lower 16 bits must be zero. Should be true on -* on any sane architecture; generic code does not use this assumption. +* any sane architecture; generic code does not use this assumption. */ extern unsigned long mips_io_port_base;
PATCH 2/6 mips: octeon: cvmx-l2c.h: delete duplicated word
In reply to Randy DunlapDelete the repeated word "Returns".
--- arch/mips/include/asm/octeon/cvmx-l2c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/octeon/cvmx-l2c.h +1 -1
@@ -327,7 +327,7 @@ void cvmx_l2c_flush(void);/** * -* Returns Returns the size of the L2 cache in bytes, +* Returns the size of the L2 cache in bytes, * -1 on error (unrecognized model) */ int cvmx_l2c_get_cache_size_bytes (void );
PATCH 3/6 mips: octeon: cvmx-pip.h: delete duplicated word
In reply to Randy DunlapDelete the repeated word "the".
--- arch/mips/include/asm/octeon/cvmx-pip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/octeon/cvmx-pip.h +1 -1
@@ -503,7 +503,7 @@ static inline void cvmx_pip_tag_mask_cle* offsetof() to determine the offsets into packet headers. * For example, offsetof(ethhdr, protocol) returns the offset * of the ethernet protocol field. The bitmask selects which -* bytes to include the the tag, with bit offset X selecting +* bytes to include the tag, with bit offset X selecting * byte at offset X from the beginning of the packet data. * @len: Number of bytes to include. Usually this is the sizeof() * the field.
PATCH 4/6 mips: octeon: cvmx-pkoh: fix duplicated words
In reply to Randy DunlapDelete the repeated word "command".
Delete the repeated words "returns" and convert to kernel-doc notation by adding a ':'.
--- arch/mips/include/asm/octeon/cvmx-pko.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
arch/mips/include/asm/octeon/cvmx-pko.h +3 -4
@@ -40,8 +40,7 @@* generic code while CVMX_PKO_LOCK_CMD_QUEUE should be used * with hand tuned fast path code. * -* Some of other SDK differences visible to the command command -* queuing: +* Some of other SDK differences visible to the command queuing: * - PKO indexes are no longer stored in the FAU. A large * percentage of the FAU register block used to be tied up * maintaining PKO queue pointers. These are now stored in a
@@ -413,7 +412,7 @@ static inline void cvmx_pko_send_packet_* @use_locking: CVMX_PKO_LOCK_NONE, CVMX_PKO_LOCK_ATOMIC_TAG, or * CVMX_PKO_LOCK_CMD_QUEUE * -* Returns returns CVMX_PKO_SUCCESS on success, or error code on +* Returns: CVMX_PKO_SUCCESS on success, or error code on * failure of output */ static inline cvmx_pko_status_t cvmx_pko_send_packet_finish(
@@ -456,7 +455,7 @@ static inline cvmx_pko_status_t cvmx_pko* @use_locking: CVMX_PKO_LOCK_NONE, CVMX_PKO_LOCK_ATOMIC_TAG, or * CVMX_PKO_LOCK_CMD_QUEUE * -* Returns returns CVMX_PKO_SUCCESS on success, or error code on +* Returns: CVMX_PKO_SUCCESS on success, or error code on * failure of output */ static inline cvmx_pko_status_t cvmx_pko_send_packet_finish3(
PATCH 5/6 mips: octeon: cvmx-pow.h: fix duplicated words
In reply to Randy DunlapDelete the repeated words "Returns" and convert to kernel-doc notation by adding a ':'.
--- arch/mips/include/asm/octeon/cvmx-pow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
arch/mips/include/asm/octeon/cvmx-pow.h +4 -4
@@ -1345,7 +1345,7 @@ static inline void cvmx_pow_tag_sw_wait(* @wait: When set, call stalls until work becomes avaiable, or times out. * If not set, returns immediately. * -* Returns Returns the WQE pointer from POW. Returns NULL if no work +* Returns: the WQE pointer from POW. Returns NULL if no work * was available. */ static inline struct cvmx_wqe *cvmx_pow_work_request_sync_nocheck(cvmx_pow_wait_t
@@ -1379,7 +1379,7 @@ static inline struct cvmx_wqe *cvmx_pow_* @wait: When set, call stalls until work becomes avaiable, or times out. * If not set, returns immediately. * -* Returns Returns the WQE pointer from POW. Returns NULL if no work +* Returns: the WQE pointer from POW. Returns NULL if no work * was available. */ static inline struct cvmx_wqe *cvmx_pow_work_request_sync (cvmx_pow_wait_t wait)
@@ -1398,7 +1398,7 @@ static inline struct cvmx_wqe *cvmx_pow_* This function waits for any previous tag switch to complete before * requesting the null_rd. * -* Returns Returns the POW state of type cvmx_pow_tag_type_t. +* Returns: the POW state of type cvmx_pow_tag_type_t. */ static inline enum cvmx_pow_tag_type cvmx_pow_work_request_null_rd (void ) {
@@ -1482,7 +1482,7 @@ static inline void cvmx_pow_work_request* @scr_addr: Scratch memory address to get result from Byte address, * must be 8 byte aligned. * -* Returns Returns the WQE from the scratch register, or NULL if no +* Returns: the WQE from the scratch register, or NULL if no * work was available. */ static inline struct cvmx_wqe *cvmx_pow_work_response_async (int scr_addr)
PATCH 6/6 mips: octeon: octeon.h: delete duplicated word
In reply to Randy DunlapDelete the repeated word "as".
--- arch/mips/include/asm/octeon/octeon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/include/asm/octeon/octeon.h +1 -1
@@ -198,7 +198,7 @@ union octeon_cvmemctl {* CvmMemCtl[DIDTTO] */ __BITFIELD_FIELD(uint64_t didtto2:1,/* R/W If set, marked write-buffer entries time out -* the same as as other entries; if clear, marked +* the same as other entries; if clear, marked * write-buffer entries use the maximum timeout. */ __BITFIELD_FIELD(uint64_t dismarkwblongto:1,/* R/W If set, a merged store does not clear the
Thomas Bogendoerfer
maintainerQuoted 5 lines · Randy Dunlap
Delete duplicated words in
arch/mips/header files.Cc Thomas Bogendoerfer <[email protected]>
Quoted 7 lines
arch/mips/include/asm/io.h | 2 +- arch/mips/include/asm/octeon/cvmx-l2c.h | 2 +- arch/mips/include/asm/octeon/cvmx-pip.h | 2 +- arch/mips/include/asm/octeon/cvmx-pko.h | 7 +++---- arch/mips/include/asm/octeon/cvmx-pow.h | 8 ++++---- arch/mips/include/asm/octeon/octeon.h | 2 +- 6 files changed, 11 insertions(+), 12 deletions(-)
series applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]