drivers/octeontx2: fix icc build for i686
authorAmit Gupta <agupta3@marvell.com>
Mon, 1 Jul 2019 18:03:46 +0000 (23:33 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Jul 2019 14:46:33 +0000 (16:46 +0200)
commite66a5a827064f27258e54f3065fcf515936b7513
treeb75a1560e37c9149767e5dd49c62d4a3c3b44475
parent15a74163b12ed9b8b980b1576bdd8de16d60612b
drivers/octeontx2: fix icc build for i686

Fix the following ICC specific compilation issue with i686 build.

dpdk/drivers/common/octeontx2/otx2_mbox.c(47): error #2259:
non-pointer conversion from "unsigned long long" to "struct mbox_hdr *"
may lose significant bits
(struct mbox_hdr *)((uintptr_t)mdev->mbase + mbox->tx_start);

Fixes: 732377a6792e ("mempool/octeontx2: add build infra and device probe")
Fixes: 371d3212cbed ("common/octeontx2: add build infrastructure and HW definition")

Signed-off-by: Amit Gupta <agupta3@marvell.com>
drivers/common/octeontx2/Makefile
drivers/mempool/octeontx2/Makefile