eal: add missing include to debug header
PATCH 1/1 eal: add missing include to debug header
The header file rte_debug.h makes use of the "unlikely" macro which means it should include the rte_branch_prediction.h header file.
--- lib/librte_eal/common/include/rte_debug.h | 1 + 1 file changed, 1 insertion(+)
lib/librte_eal/common/include/rte_debug.h +1 -0
@@ -44,6 +44,7 @@*/ #include "rte_log.h" +#include "rte_branch_prediction.h" #ifdef __cplusplusextern "C" {
Signature · 1 line
2.5.5
Quoted 15 lines · Bruce Richardson
The header file
rte_debug.hmakes use of the "unlikely" macro which means it should include therte_branch_prediction.hheader file.Fixes 50705e8e3cdd ("eal: add assert macro for debug")Signed-off-by Bruce Richardson <[email protected]>--- lib/librte_eal/common/include/rte_debug.h | 1 + 1 file changed, 1 insertion(+)lib/librte_eal/common/include/rte_debug.h +0
-0
lib/librte_eal/common/include/rte_debug.h line 50
Quoted 7 lines
lib/librte_eal/common/include/rte_debug.h +1
-0@@ -44,6 +44,7 @@*/ #include "rte_log.h" +#include "rte_branch_prediction.h" #ifdef __cplusplusextern "C" {
Ping on this patch - any comments or concerns?
It's a fairly trivial fix that prevents issues with testing some other patches on the mainline.
Regards,
/Bruce
Ferruh Yigit
Acked-byQuoted 21 lines · Bruce Richardson
Quoted 20 lines · Bruce Richardson
The header file
rte_debug.hmakes use of the "unlikely" macro which means it should include therte_branch_prediction.hheader file.Fixes 50705e8e3cdd ("eal: add assert macro for debug")Signed-off-by Bruce Richardson <[email protected]>--- lib/librte_eal/common/include/rte_debug.h | 1 + 1 file changed, 1 insertion(+)lib/librte_eal/common/include/rte_debug.h +1
-0@@ -44,6 +44,7 @@*/ #include "rte_log.h" +#include "rte_branch_prediction.h"
Quoted 7 lines
lib/librte_eal/common/include/rte_debug.h line 50
Quoted 2 lines
lib/librte_eal/common/include/rte_debug.h +0
-0#ifdef __cplusplusextern "C" {Ping on this patch - any comments or concerns?
It's a fairly trivial fix that prevents issues with testing some other patches on the mainline.
Tested on top of David Marchand's 12123-12139 patchset.
Thomas Monjalon
Applied2016-05-05 17:07, Ferruh Yigit:
Quoted 9 lines · Bruce Richardson
Quoted 8 lines · Bruce Richardson
Quoted 6 lines
The header file
rte_debug.hmakes use of the "unlikely" macro which means it should include therte_branch_prediction.hheader file.Fixes 50705e8e3cdd ("eal: add assert macro for debug")Signed-off-by Bruce Richardson <[email protected]>
Quoted 8 lines
Quoted 4 lines
Ping on this patch - any comments or concerns?
It's a fairly trivial fix that prevents issues with testing some other patches on the mainline.Tested on top of David Marchand's 12123-12139 patchset.
Acked-by Ferruh Yigit <[email protected]>
Applied, thanks
Sorry for the delay, I was gardening today :)