[API-NEXT,v1,1/2] api: fixing typos

Message ID 1507219205-24255-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series
  • Fixing typos apinext
Related show

Commit Message

Github ODP bot Oct. 5, 2017, 4 p.m.
From: Mykyta Iziumtsev <mykyta.iziumtsev@linaro.org>


Signed-off-by: Mykyta Iziumtsev <mykyta.iziumtsev@linaro.org>

---
/** Email created from pull request 219 (MykytaI:fixing-typos-apinext)
 ** https://github.com/Linaro/odp/pull/219
 ** Patch: https://github.com/Linaro/odp/pull/219.patch
 ** Base sha: 506bf9dcf0e071cd8b168806b1d279124551af86
 ** Merge commit sha: 75f28f17b48d5ef0dfca27088afeea5ae6251b9e
 **/
 include/odp/api/spec/packet.h       | 4 ++--
 include/odp/api/spec/traffic_mngr.h | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/include/odp/api/spec/packet.h b/include/odp/api/spec/packet.h
index c498e2e23..c705c3a6a 100644
--- a/include/odp/api/spec/packet.h
+++ b/include/odp/api/spec/packet.h
@@ -920,7 +920,7 @@  odp_packet_t odp_packet_ref_static(odp_packet_t pkt);
  * dynamic references must not be mixed. Results are undefined if these
  * restrictions are not observed.
  *
- * The packet handle 'pkt' may itself by a (dynamic) reference to a packet.
+ * The packet handle 'pkt' may itself be a (dynamic) reference to a packet.
  *
  * If the caller does not intend to modify either the packet or the new
  * reference to it, odp_packet_ref_static() may be used to create
@@ -947,7 +947,7 @@  odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t offset);
  * packet consists metadata and data of the 'hdr' packet, followed by the
  * shared part of packet 'pkt'.
  *
- * The packet handle ('pkt') may itself by a (dynamic) reference to a packet,
+ * The packet handle ('pkt') may itself be a (dynamic) reference to a packet,
  * but the header packet handle ('hdr') must be unique. Both packets must be
  * have been allocated from the same pool and the handles must not refer to
  * the same packet. Results are undefined if these restrictions are not
diff --git a/include/odp/api/spec/traffic_mngr.h b/include/odp/api/spec/traffic_mngr.h
index 3a748cef7..c9134e8e4 100644
--- a/include/odp/api/spec/traffic_mngr.h
+++ b/include/odp/api/spec/traffic_mngr.h
@@ -75,7 +75,7 @@  extern "C" {
 
 /**
  * @def ODP_TM_MAX_TM_QUEUES
- * The largest number of tm_queues that can handled by any one TM system.
+ * The largest number of tm_queues that can be handled by any one TM system.
  */
 
 /**
@@ -97,7 +97,7 @@  extern "C" {
 
 /**
  * @def ODP_TM_MIN_SHAPER_BW
- * The largest amount of bandwidth that any shaper's peak or commit rate can
+ * The lowest amount of bandwidth that any shaper's peak or commit rate can
  * be set to. It is in units of 1000 bytes/second.
  */
 
@@ -143,7 +143,7 @@  extern "C" {
 
 /**
  * @typedef odp_tm_node_t
- * Each odp_tm_queue_t value is an opaque ODP handle representing a specific
+ * Each odp_tm_node_t value is an opaque ODP handle representing a specific
  * tm node within a specific TM system.
  */