Skip to contentSkip to conversation

ethdev: fix a typo

PATCH Applied Rami Rosen 3 participants 3 messages Mar 22, 2019 – Mar 25, 2019

lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 ethdev: fix a typo

This patch fixes a trivial typo in rte_ethdev.h.
retieve=>retrieve

Fixes 80a1deb4c77a ("ethdev: add API to retrieve queue information")
---
 lib/librte_ethdev/rte_ethdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_ethdev/rte_ethdev.h +1 -1
index a3c864a13..dc8d072e8 100644
@@ -1135,7 +1135,7 @@ struct rte_eth_dev_info {
 
 /**
  * Ethernet device RX queue information structure.
- * Used to retieve information about configured queue.
+ * Used to retrieve information about configured queue.
  */
 struct rte_eth_rxq_info {
 	struct rte_mempool *mp;     /**< mempool used by that queue. */
Signature · 1 line
2.19.2
Reviewed-by on v1 1/1 Applied
#1 lore raw
Quoted 7 lines · Rami Rosen

This patch fixes a trivial typo in rte_ethdev.h.
retieve=>retrieve

Fixes 80a1deb4c77a ("ethdev: add API to retrieve queue information")

Applied to dpdk-next-net/master, thanks.

It is great to have these fixes, but I wonder if there is a way to get them fixed as a bunch, can running a spell check utility on the DPDK and fix all existing typos in one go help? Any idea?

cc'ed John & Thomas,
Does it make sense to run something periodical, like before each release, run spellcheck and fix the typos for whole code?

Thanks,
ferruh

#2 lore raw

25/03/2019 15:16, Ferruh Yigit:

Quoted 13 lines · Rami Rosen
Quoted 7 lines

This patch fixes a trivial typo in rte_ethdev.h.
retieve=>retrieve

Fixes 80a1deb4c77a ("ethdev: add API to retrieve queue information")

Applied to dpdk-next-net/master, thanks.

Quoted 7 lines

It is great to have these fixes, but I wonder if there is a way to get them fixed as a bunch, can running a spell check utility on the DPDK and fix all existing typos in one go help? Any idea?

cc'ed John & Thomas,
Does it make sense to run something periodical, like before each release, run spellcheck and fix the typos for whole code?

Yes, it would make sense.

We can also add more spell checkers as part of checkpatch.