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

2022-06-17 Thread Jerin Jacob
On Wed, Jun 15, 2022 at 10:41 PM Bruce Richardson wrote: > > 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

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

2022-06-15 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