Message ID | 20220722214106.162640-11-stephen@networkplumber.org (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | Fix repeated words in comments and messages | expand |
Context | Check | Description |
---|---|---|
ci/checkpatch | warning | coding style issues |
22/07/2022 23:41, Stephen Hemminger: > Replace 'of of' > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> > --- > lib/ethdev/rte_ethdev.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h > index de9e970d4d11..701eac328fe6 100644 > --- a/lib/ethdev/rte_ethdev.h > +++ b/lib/ethdev/rte_ethdev.h > @@ -3356,7 +3356,7 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma, > /** > * Retrieve the contextual information of an Ethernet device. > * > - * As part of this function, a number of of fields in dev_info will be > + * As part of this function, a number of fields in dev_info will be > * initialized as follows: > * > * rx_desc_lim = lim This comment is the code of the function. That's very unusual and should be completely removed in my opinion, instead of just fixing the repeated word.
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index de9e970d4d11..701eac328fe6 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3356,7 +3356,7 @@ int rte_eth_macaddrs_get(uint16_t port_id, struct rte_ether_addr *ma, /** * Retrieve the contextual information of an Ethernet device. * - * As part of this function, a number of of fields in dev_info will be + * As part of this function, a number of fields in dev_info will be * initialized as follows: * * rx_desc_lim = lim
Replace 'of of' Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> --- lib/ethdev/rte_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)