Re: [PATCH 2/2] common/cnxk: add include for macro definition

2022-06-15 Thread Bruce Richardson
On Wed, Jun 15, 2022 at 09:06:26AM +0200, Thomas Monjalon wrote: > 14/06/2022 14:29, Bruce Richardson: > > The header file "roc_io.h" uses the "__plt_always_inline" macro but > > don't include "roc_platform.h" to get the definition of it. This > > inclusion is not necessary for compilation, but the

Re: [PATCH 2/2] common/cnxk: add include for macro definition

2022-06-15 Thread Thomas Monjalon
14/06/2022 14:29, Bruce Richardson: > The header file "roc_io.h" uses the "__plt_always_inline" macro but > don't include "roc_platform.h" to get the definition of it. This > inclusion is not necessary for compilation, but the lack of it can > confuse some indexers - such as those in eclipse, which

[PATCH 2/2] common/cnxk: add include for macro definition

2022-06-14 Thread Bruce Richardson
The header file "roc_io.h" uses the "__plt_always_inline" macro but don't include "roc_platform.h" to get the definition of it. This inclusion is not necessary for compilation, but the lack of it can confuse some indexers - such as those in eclipse, which reports the lines: "static __plt_always_in