[dpdk-dev,v3,4/9] bus: properly include rte_debug
Checks
Commit Message
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
---
lib/librte_eal/common/eal_common_bus.c | 1 +
1 file changed, 1 insertion(+)
Comments
21/06/2017 01:36, Gaetan Rivet:
> Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Please add a comment to explain why this include is required now.
On Wed, Jun 21, 2017 at 09:45:12AM +0200, Thomas Monjalon wrote:
> 21/06/2017 01:36, Gaetan Rivet:
> > Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
>
> Please add a comment to explain why this include is required now.
This commit will have this comment in the next version:
This include is necessary for rte_bus, but it is currently brought by
eal_private.h including rte_pci.h, including rte_debug.h.
rte_pci.h will move out of the EAL. All compilation units should be
self-sufficient include-wise.
Cheers,
@@ -36,6 +36,7 @@
#include <sys/queue.h>
#include <rte_bus.h>
+#include <rte_debug.h>
#include "eal_private.h"