git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/mlx5: improve assert control
[dpdk.git]
/
drivers
/
common
/
mlx5
/
mlx5_common.c
diff --git
a/drivers/common/mlx5/mlx5_common.c
b/drivers/common/mlx5/mlx5_common.c
index
7849d86
..
610fb48
100644
(file)
--- a/
drivers/common/mlx5/mlx5_common.c
+++ b/
drivers/common/mlx5/mlx5_common.c
@@
-308,7
+308,7
@@
RTE_INIT_PRIO(mlx5_glue_init, CLASS)
unsigned int i;
for (i = 0; i != sizeof(*mlx5_glue) / sizeof(void *); ++i)
-
assert
(((const void *const *)mlx5_glue)[i]);
+
MLX5_ASSERT
(((const void *const *)mlx5_glue)[i]);
}
#endif
if (strcmp(mlx5_glue->version, MLX5_GLUE_VERSION)) {