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:
2c0dd7b
)
net/sfc: fix typo in preprocessor check
author
Andrew Rybchenko
<arybchenko@solarflare.com>
Sun, 13 Jan 2019 14:50:13 +0000
(14:50 +0000)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000
(17:44 +0100)
ISP2() macro function misspelled in a check just before it.
Fixes:
e1b944598579
("net/sfc: build libefx")
Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/efsys.h
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/efsys.h
b/drivers/net/sfc/efsys.h
index
0b4795d
..
f7bcc74
100644
(file)
--- a/
drivers/net/sfc/efsys.h
+++ b/
drivers/net/sfc/efsys.h
@@
-84,7
+84,7
@@
typedef bool boolean_t;
#define P2ALIGN(_x, _a) ((_x) & -(_a))
#endif
-#ifndef IS
2P
+#ifndef IS
P2
#define ISP2(x) rte_is_power_of_2(x)
#endif