eal: fix typo in doc of pointer offset macro
[dpdk.git] / lib / librte_eal / common / include / rte_common.h
index 679f2f1..434adfd 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)))