DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/caam_jr: fix redefinition error
@ 2018-10-23 11:54 Gagandeep Singh
  2018-10-24 20:41 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Gagandeep Singh @ 2018-10-23 11:54 UTC (permalink / raw)
  To: dev, Akhil Goyal; +Cc: Gagandeep Singh

dma_addr_t is already defined in compat.h.
so removing the local definition from caam_jr_config.h

Fixes: b70a67ab70 ("crypto/caam_jr: add HW tuning options")

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
---
 drivers/crypto/caam_jr/caam_jr_config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/caam_jr/caam_jr_config.h b/drivers/crypto/caam_jr/caam_jr_config.h
index e7855cee6..041187a84 100644
--- a/drivers/crypto/caam_jr/caam_jr_config.h
+++ b/drivers/crypto/caam_jr/caam_jr_config.h
@@ -7,6 +7,8 @@
 
 #include <rte_byteorder.h>
 
+#include <compat.h>
+
 #ifdef RTE_LIBRTE_PMD_CAAM_JR_BE
 #define CAAM_BYTE_ORDER __BIG_ENDIAN
 #else
@@ -19,8 +21,6 @@
 #define CORE_BYTE_ORDER __LITTLE_ENDIAN
 #endif
 
-typedef uint64_t	dma_addr_t;
-
 #if CORE_BYTE_ORDER != CAAM_BYTE_ORDER
 
 #define cpu_to_caam64 rte_cpu_to_be_64
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-24 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-23 11:54 [dpdk-dev] [PATCH] crypto/caam_jr: fix redefinition error Gagandeep Singh
2018-10-24 20:41 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).