All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] mips: delete duplicated words
@ 2020-07-26  0:34 Randy Dunlap
  2020-07-26  0:34 ` [PATCH 1/6] mips: io.h: delete duplicated word Randy Dunlap
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete duplicated words in arch/mips/ header files.

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org

 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(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/6] mips: io.h: delete duplicated word
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  0:34 ` [PATCH 2/6] mips: octeon: cvmx-l2c.h: " Randy Dunlap
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated word "on".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/io.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200720.orig/arch/mips/include/asm/io.h
+++ linux-next-20200720/arch/mips/include/asm/io.h
@@ -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;
 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 2/6] mips: octeon: cvmx-l2c.h: delete duplicated word
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
  2020-07-26  0:34 ` [PATCH 1/6] mips: io.h: delete duplicated word Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  0:34 ` [PATCH 3/6] mips: octeon: cvmx-pip.h: " Randy Dunlap
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated word "Returns".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/octeon/cvmx-l2c.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-l2c.h
+++ linux-next-20200720/arch/mips/include/asm/octeon/cvmx-l2c.h
@@ -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);

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 3/6] mips: octeon: cvmx-pip.h: delete duplicated word
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
  2020-07-26  0:34 ` [PATCH 1/6] mips: io.h: delete duplicated word Randy Dunlap
  2020-07-26  0:34 ` [PATCH 2/6] mips: octeon: cvmx-l2c.h: " Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  0:34 ` [PATCH 4/6] mips: octeon: cvmx-pkoh: fix duplicated words Randy Dunlap
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated word "the".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/octeon/cvmx-pip.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-pip.h
+++ linux-next-20200720/arch/mips/include/asm/octeon/cvmx-pip.h
@@ -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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 4/6] mips: octeon: cvmx-pkoh: fix duplicated words
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
                   ` (2 preceding siblings ...)
  2020-07-26  0:34 ` [PATCH 3/6] mips: octeon: cvmx-pip.h: " Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  0:34 ` [PATCH 5/6] mips: octeon: cvmx-pow.h: " Randy Dunlap
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated word "command".
Delete the repeated words "returns" and convert to kernel-doc notation
by adding a ':'.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/octeon/cvmx-pko.h |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-pko.h
+++ linux-next-20200720/arch/mips/include/asm/octeon/cvmx-pko.h
@@ -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(

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 5/6] mips: octeon: cvmx-pow.h: fix duplicated words
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
                   ` (3 preceding siblings ...)
  2020-07-26  0:34 ` [PATCH 4/6] mips: octeon: cvmx-pkoh: fix duplicated words Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  0:34 ` [PATCH 6/6] mips: octeon: octeon.h: delete duplicated word Randy Dunlap
  2020-07-26  8:22 ` [PATCH 0/6] mips: delete duplicated words Thomas Bogendoerfer
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated words "Returns" and convert to kernel-doc
notation by adding a ':'.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/octeon/cvmx-pow.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-pow.h
+++ linux-next-20200720/arch/mips/include/asm/octeon/cvmx-pow.h
@@ -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)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 6/6] mips: octeon: octeon.h: delete duplicated word
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
                   ` (4 preceding siblings ...)
  2020-07-26  0:34 ` [PATCH 5/6] mips: octeon: cvmx-pow.h: " Randy Dunlap
@ 2020-07-26  0:34 ` Randy Dunlap
  2020-07-26  8:22 ` [PATCH 0/6] mips: delete duplicated words Thomas Bogendoerfer
  6 siblings, 0 replies; 8+ messages in thread
From: Randy Dunlap @ 2020-07-26  0:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Thomas Bogendoerfer, linux-mips

Delete the repeated word "as".

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: linux-mips@vger.kernel.org
---
 arch/mips/include/asm/octeon/octeon.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20200720.orig/arch/mips/include/asm/octeon/octeon.h
+++ linux-next-20200720/arch/mips/include/asm/octeon/octeon.h
@@ -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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/6] mips: delete duplicated words
  2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
                   ` (5 preceding siblings ...)
  2020-07-26  0:34 ` [PATCH 6/6] mips: octeon: octeon.h: delete duplicated word Randy Dunlap
@ 2020-07-26  8:22 ` Thomas Bogendoerfer
  6 siblings, 0 replies; 8+ messages in thread
From: Thomas Bogendoerfer @ 2020-07-26  8:22 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, linux-mips

On Sat, Jul 25, 2020 at 05:34:23PM -0700, Randy Dunlap wrote:
> Delete duplicated words in arch/mips/ header files.
> 
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: linux-mips@vger.kernel.org
> 
>  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.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-26  8:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-26  0:34 [PATCH 0/6] mips: delete duplicated words Randy Dunlap
2020-07-26  0:34 ` [PATCH 1/6] mips: io.h: delete duplicated word Randy Dunlap
2020-07-26  0:34 ` [PATCH 2/6] mips: octeon: cvmx-l2c.h: " Randy Dunlap
2020-07-26  0:34 ` [PATCH 3/6] mips: octeon: cvmx-pip.h: " Randy Dunlap
2020-07-26  0:34 ` [PATCH 4/6] mips: octeon: cvmx-pkoh: fix duplicated words Randy Dunlap
2020-07-26  0:34 ` [PATCH 5/6] mips: octeon: cvmx-pow.h: " Randy Dunlap
2020-07-26  0:34 ` [PATCH 6/6] mips: octeon: octeon.h: delete duplicated word Randy Dunlap
2020-07-26  8:22 ` [PATCH 0/6] mips: delete duplicated words Thomas Bogendoerfer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.