Skip to content

Commit

Permalink
doc: fix typo depreciated instead of deprecated
Browse files Browse the repository at this point in the history
[ upstream commit 98afdb1 ]

Same issue was fixed in ABI policy in ec5c0f8,
but more of this misuse persist in comments and docs.
'depreciated' means diminish in value over a period of time.
It should not appear here.

Signed-off-by: Stephen Coleman <omegacoleman@gmail.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
  • Loading branch information
omegacoleman authored and kevintraynor committed Nov 23, 2022
1 parent 4726dff commit b16910e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/guides/contributing/abi_policy.rst
Expand Up @@ -167,7 +167,7 @@ The requirements for changing the ABI are:
API becomes non-experimental, then the old one is marked with
``__rte_deprecated``.

- The depreciated API should follow the notification process to be removed,
- The deprecated API should follow the notification process to be removed,
see :ref:`deprecation_notices`.

- At the declaration of the next major ABI version, those ABI changes then
Expand Down
2 changes: 1 addition & 1 deletion doc/guides/contributing/abi_versioning.rst
Expand Up @@ -94,7 +94,7 @@ that library.
...
However when a new ABI version is declared, for example DPDK ``22``, old
depreciated functions may be safely removed at this point and the entire old
deprecated functions may be safely removed at this point and the entire old
major ABI version removed, see the section :ref:`deprecating_entire_abi` on
how this may be done.

Expand Down
4 changes: 2 additions & 2 deletions lib/kni/rte_kni.h
Expand Up @@ -66,8 +66,8 @@ struct rte_kni_conf {
uint32_t core_id; /* Core ID to bind kernel thread on */
uint16_t group_id; /* Group ID */
unsigned mbuf_size; /* mbuf size */
struct rte_pci_addr addr; /* depreciated */
struct rte_pci_id id; /* depreciated */
struct rte_pci_addr addr; /* deprecated */
struct rte_pci_id id; /* deprecated */

__extension__
uint8_t force_bind : 1; /* Flag to bind kernel thread */
Expand Down

0 comments on commit b16910e

Please sign in to comment.