net/sfc: fix typo in preprocessor check for macro defined
Checks
Commit Message
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 1/13/2019 2:50 PM, Andrew Rybchenko wrote:
> 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>
Applied to dpdk-next-net/master, thanks.
@@ -84,7 +84,7 @@ typedef bool boolean_t;
#define P2ALIGN(_x, _a) ((_x) & -(_a))
#endif
-#ifndef IS2P
+#ifndef ISP2
#define ISP2(x) rte_is_power_of_2(x)
#endif