DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: fix typo in coding style
@ 2021-10-29 13:19 Dariusz Sosnowski
  2021-11-01 14:54 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Dariusz Sosnowski @ 2021-10-29 13:19 UTC (permalink / raw)
  To: John McNamara, Bruce Richardson, Siobhan Butler, Thomas Monjalon
  Cc: dev, stable

This patch fixes a typo in DPDK Coding Style, in Return Values section,
i.e. replaces "indicated may" with "indicated by".

Fixes: 36032e46be40 ("doc: add coding style")
Cc: stable@dpdk.org

Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
---
 doc/guides/contributing/coding_style.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/guides/contributing/coding_style.rst b/doc/guides/contributing/coding_style.rst
index b27b5fcfdb..506f706ebd 100644
--- a/doc/guides/contributing/coding_style.rst
+++ b/doc/guides/contributing/coding_style.rst
@@ -619,7 +619,7 @@ Return Value
 ~~~~~~~~~~~~
 
 * Functions which create objects, or allocate memory, should return pointer types, and NULL on error.
-  The error type should be indicated may setting the variable ``rte_errno`` appropriately.
+  The error type should be indicated by setting the variable ``rte_errno`` appropriately.
 * Functions which work on bursts of packets, such as RX-like or TX-like functions, should return the number of packets handled.
 * Other functions returning int should generally behave like system calls:
   returning 0 on success and -1 on error, setting ``rte_errno`` to indicate the specific type of error.
-- 
2.25.1


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

* Re: [dpdk-dev] [PATCH] doc: fix typo in coding style
  2021-10-29 13:19 [dpdk-dev] [PATCH] doc: fix typo in coding style Dariusz Sosnowski
@ 2021-11-01 14:54 ` Bruce Richardson
  2021-11-26 10:20   ` David Marchand
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Richardson @ 2021-11-01 14:54 UTC (permalink / raw)
  To: Dariusz Sosnowski
  Cc: John McNamara, Siobhan Butler, Thomas Monjalon, dev, stable

On Fri, Oct 29, 2021 at 04:19:02PM +0300, Dariusz Sosnowski wrote:
> This patch fixes a typo in DPDK Coding Style, in Return Values section,
> i.e. replaces "indicated may" with "indicated by".
> 
> Fixes: 36032e46be40 ("doc: add coding style")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

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

* Re: [dpdk-dev] [PATCH] doc: fix typo in coding style
  2021-11-01 14:54 ` Bruce Richardson
@ 2021-11-26 10:20   ` David Marchand
  0 siblings, 0 replies; 3+ messages in thread
From: David Marchand @ 2021-11-26 10:20 UTC (permalink / raw)
  To: Dariusz Sosnowski
  Cc: Bruce Richardson, John McNamara, Siobhan Butler, Thomas Monjalon,
	dev, dpdk stable

On Mon, Nov 1, 2021 at 3:54 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> On Fri, Oct 29, 2021 at 04:19:02PM +0300, Dariusz Sosnowski wrote:
> > This patch fixes a typo in DPDK Coding Style, in Return Values section,
> > i.e. replaces "indicated may" with "indicated by".
> >
> > Fixes: 36032e46be40 ("doc: add coding style")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
> Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied, thanks.


-- 
David Marchand


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

end of thread, other threads:[~2021-11-26 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-29 13:19 [dpdk-dev] [PATCH] doc: fix typo in coding style Dariusz Sosnowski
2021-11-01 14:54 ` Bruce Richardson
2021-11-26 10:20   ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).