[dpdk-dev] [PATCH 2/2] net/thunderx: fix unused function nicvf_mbox_msg_str error

2016-06-29 Thread Bruce Richardson
On Wed, Jun 29, 2016 at 11:39:51AM +0100, Bruce Richardson wrote: > On Tue, Jun 28, 2016 at 09:56:02AM +0100, Ferruh Yigit wrote: > > On 6/27/2016 5:16 PM, Jerin Jacob wrote: > > > Fix the following error with clang > > > error: unused function 'nicvf_mbox_msg_str' > > > > > > The nicvf_mbox_msg

[dpdk-dev] [PATCH 2/2] net/thunderx: fix unused function nicvf_mbox_msg_str error

2016-06-29 Thread Bruce Richardson
On Tue, Jun 28, 2016 at 09:56:02AM +0100, Ferruh Yigit wrote: > On 6/27/2016 5:16 PM, Jerin Jacob wrote: > > Fix the following error with clang > > error: unused function 'nicvf_mbox_msg_str' > > > > The nicvf_mbox_msg_str() maybe unused, based on DEBUG > > compilation option selected. Mark __

[dpdk-dev] [PATCH 2/2] net/thunderx: fix unused function nicvf_mbox_msg_str error

2016-06-28 Thread Ferruh Yigit
On 6/27/2016 5:16 PM, Jerin Jacob wrote: > Fix the following error with clang > error: unused function 'nicvf_mbox_msg_str' > > The nicvf_mbox_msg_str() maybe unused, based on DEBUG > compilation option selected. Mark __attribute__((unused)) on > this function, to inform compiler that this f

[dpdk-dev] [PATCH 2/2] net/thunderx: fix unused function nicvf_mbox_msg_str error

2016-06-27 Thread Jerin Jacob
Fix the following error with clang error: unused function 'nicvf_mbox_msg_str' The nicvf_mbox_msg_str() maybe unused, based on DEBUG compilation option selected. Mark __attribute__((unused)) on this function, to inform compiler that this function may be unused Fixes: e93592f1 ("net/thunde