From: Thomas Monjalon Date: Tue, 1 May 2018 19:35:50 +0000 (+0200) Subject: eal: fix typo in doc of pointer offset macro X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2b1c4388dd5efb803fb825e9c07f5948e07d86a1;p=dpdk.git eal: fix typo in doc of pointer offset macro Fixes: af75078fece3 ("first public release") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h index 679f2f184a..434adfd455 100644 --- a/lib/librte_eal/common/include/rte_common.h +++ b/lib/librte_eal/common/include/rte_common.h @@ -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)))