[dpdk-dev] [PATCH] mlx4: fix unneeded function error with clang v3.6

2016-02-09 Thread Bruce Richardson
On Tue, Feb 09, 2016 at 09:39:26AM +0100, Adrien Mazarguil wrote: > On Mon, Feb 08, 2016 at 10:11:49PM +, Bruce Richardson wrote: > > When compiling with clang 3.6, the mlx4 driver gives the following error > > message about an unneeded function. > > > > CC mlx4.o > > .../drivers/net/mlx4/ml

[dpdk-dev] [PATCH] mlx4: fix unneeded function error with clang v3.6

2016-02-09 Thread Adrien Mazarguil
On Mon, Feb 08, 2016 at 10:11:49PM +, Bruce Richardson wrote: > When compiling with clang 3.6, the mlx4 driver gives the following error > message about an unneeded function. > > CC mlx4.o > .../drivers/net/mlx4/mlx4.c:136:20: fatal error: function > 'wr_id_t_check' is not needed and w

[dpdk-dev] [PATCH] mlx4: fix unneeded function error with clang v3.6

2016-02-08 Thread Bruce Richardson
When compiling with clang 3.6, the mlx4 driver gives the following error message about an unneeded function. CC mlx4.o .../drivers/net/mlx4/mlx4.c:136:20: fatal error: function 'wr_id_t_check' is not needed and will not be emitted [-Wunneeded-internal-declaration] static inline void wr_id_