Re: [PATCH net 2/2] lib/dim: Fix -Wunused-const-variable warnings

2019-07-23 Thread Leon Romanovsky
On Tue, Jul 23, 2019 at 05:05:19PM +, Saeed Mahameed wrote: > On Tue, 2019-07-23 at 10:22 +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > DIM causes to the following warnings during kernel compilation > > which indicates that tx_profile and rx_profile are supposed to > > be dec

Re: [PATCH net 2/2] lib/dim: Fix -Wunused-const-variable warnings

2019-07-23 Thread Saeed Mahameed
On Tue, 2019-07-23 at 10:22 +0300, Leon Romanovsky wrote: > From: Leon Romanovsky > > DIM causes to the following warnings during kernel compilation > which indicates that tx_profile and rx_profile are supposed to > be declared in *.c and not in *.h files. > > In file included from ./include/rdm

Re: [PATCH net 2/2] lib/dim: Fix -Wunused-const-variable warnings

2019-07-23 Thread Bart Van Assche
On 7/23/19 12:22 AM, Leon Romanovsky wrote: From: Leon Romanovsky DIM causes to the following warnings during kernel compilation which indicates that tx_profile and rx_profile are supposed to be declared in *.c and not in *.h files. Thanks Leon for this fix. Reviewed-by: Bart Van Assche

[PATCH net 2/2] lib/dim: Fix -Wunused-const-variable warnings

2019-07-23 Thread Leon Romanovsky
From: Leon Romanovsky DIM causes to the following warnings during kernel compilation which indicates that tx_profile and rx_profile are supposed to be declared in *.c and not in *.h files. In file included from ./include/rdma/ib_verbs.h:64, from ./include/linux/mlx5/device.h:37,