aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/mips/include/asm/octeon/cvmx-pko.h
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2020-07-25 17:34:27 -0700
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-07-26 10:15:50 +0200
commit37cbd2b3cb6ecb0c7b7198d551a723a55ee05c1e (patch)
tree969cce03a08932a9b3fac97ead9a0413fd280126 /arch/mips/include/asm/octeon/cvmx-pko.h
parentmips: octeon: cvmx-pip.h: delete duplicated word (diff)
downloadwireguard-linux-37cbd2b3cb6ecb0c7b7198d551a723a55ee05c1e.tar.xz
wireguard-linux-37cbd2b3cb6ecb0c7b7198d551a723a55ee05c1e.zip
mips: octeon: cvmx-pkoh: fix duplicated words
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 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/octeon/cvmx-pko.h')
-rw-r--r--arch/mips/include/asm/octeon/cvmx-pko.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx-pko.h b/arch/mips/include/asm/octeon/cvmx-pko.h
index 5b0b982a36f7..03fb64b13fba 100644
--- a/arch/mips/include/asm/octeon/cvmx-pko.h
+++ b/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_prepare(uint64_t port, uint64_t queue,
* @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_send_packet_finish(
* @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(