]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_common.h
eal: fix typo in doc of pointer offset macro
[dpdk.git] / lib / librte_eal / common / include / rte_common.h
index 679f2f184a39fdee4b079b1808f71b3d3d032b37..434adfd455e8e602851f3afccb5a1694c6198f6d 100644 (file)
@@ -124,7 +124,7 @@ static void __attribute__((constructor(RTE_PRIO(prio)), used)) func(void)
 /*********** Macros for pointer arithmetic ********/
 
 /**
- * add a byte-value offset from a pointer
+ * add a byte-value offset to a pointer
  */
 #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))