eal: fix typo in doc of pointer offset macro
PATCH 1/1 eal: fix typo in doc of pointer offset macro
Fixes af75078fece3 ("first public release")
Signed-off-by Thomas Monjalon <[email protected]>
--- lib/librte_eal/common/include/rte_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/librte_eal/common/include/rte_common.h +1 -1
@@ -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)))
Signature · 1 line
2.16.2
Thomas Monjalon
Applied01/05/2018 21:35, Thomas Monjalon:
Quoted 4 lines
Fixes af75078fece3 ("first public release")Signed-off-by Thomas Monjalon <[email protected]>
Applied