git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55b60de
)
net/bnxt: fix icc build
author
Naresh Kumar PBS
<nareshkumar.pbs@broadcom.com>
Sat, 8 Jun 2019 19:22:08 +0000
(23:22 +0400)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 13 Jun 2019 15:01:06 +0000
(
00:01
+0900)
Address build errors reported by intel compiler while compiling
on Windows. Instead of typeof() using the actual type in ALLOW_FUNC
Cc: stable@dpdk.org
Signed-off-by: Naresh Kumar PBS <nareshkumar.pbs@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/bnxt/bnxt_ethdev.c
b/drivers/net/bnxt/bnxt_ethdev.c
index
12fb0a7
..
5f9c096
100644
(file)
--- a/
drivers/net/bnxt/bnxt_ethdev.c
+++ b/
drivers/net/bnxt/bnxt_ethdev.c
@@
-3639,7
+3639,7
@@
int bnxt_alloc_ctx_mem(struct bnxt *bp)
#define ALLOW_FUNC(x) \
{ \
-
typeof(x)
arg = (x); \
+
uint32_t
arg = (x); \
bp->pf.vf_req_fwd[((arg) >> 5)] &= \
~rte_cpu_to_le_32(1 << ((arg) & 0x1f)); \
}