ethdev: fix debug macro
authorYaacov Hazan <yaacovh@mellanox.com>
Sun, 6 Dec 2015 13:13:29 +0000 (15:13 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 6 Dec 2015 21:15:14 +0000 (22:15 +0100)
commitc2d8b7c790f11a12311b62458b6f59fc7f91ddb4
tree7405553b29efc4475e3b7b6373f9967c097a7feb
parentaf63de404bbbf0e588c320ee02ed1e401e1f2e10
ethdev: fix debug macro

RTE_PMD_DEBUG_TRACE was changed also to support pedantic flag,
but not completely.

the macro changed only under the RTE_LIBRTE_ETHDEV_DEBUG define,
but when RTE_LIBRTE_ETHDEV_DEBUG is not defined the old format
was left.

fix the macro to support pedantic flag in any case.

Fixes: b974e4a40cb5 ("ethdev: make error checking macros public")

Signed-off-by: Yaacov Hazan <yaacovh@mellanox.com>
lib/librte_ether/rte_ethdev.h