X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fmlx4%2Fmlx4_utils.c;h=614dc197d98aff6862602935a0d0df46310c9be0;hb=25ae7f1a5d9d127a46f8d62d1d689f77a78138fd;hp=d10812ec4fb3d288e89f0479b8fc46be5ac6330e;hpb=82092c8734faff892cf3b0898dd1c2315d2e1398;p=dpdk.git diff --git a/drivers/net/mlx4/mlx4_utils.c b/drivers/net/mlx4/mlx4_utils.c index d10812ec4f..614dc197d9 100644 --- a/drivers/net/mlx4/mlx4_utils.c +++ b/drivers/net/mlx4/mlx4_utils.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 6WIND S.A. - * Copyright 2017 Mellanox + * Copyright 2017 Mellanox Technologies, Ltd */ /** @@ -8,7 +8,6 @@ * Utility functions used by the mlx4 driver. */ -#include #include #include #include @@ -36,7 +35,7 @@ mlx4_fd_set_non_blocking(int fd) if (ret != -1 && !fcntl(fd, F_SETFL, ret | O_NONBLOCK)) return 0; - assert(errno); + MLX4_ASSERT(errno); rte_errno = errno; return -rte_errno; }