doc: fix typo in coding style
authorDariusz Sosnowski <dsosnowski@nvidia.com>
Fri, 29 Oct 2021 13:19:02 +0000 (16:19 +0300)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 26 Nov 2021 10:28:34 +0000 (11:28 +0100)
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>
doc/guides/contributing/coding_style.rst

index 1ce5d00..0ec37c0 100644 (file)
@@ -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.