Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-24 Thread Arnd Bergmann
On Wednesday 23 March 2016 14:38:05 David Miller wrote: > From: Andrew Lunn > Date: Wed, 23 Mar 2016 17:51:11 +0100 > > > On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: > >> dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is > >> not set,

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-24 Thread Arnd Bergmann
On Wednesday 23 March 2016 14:38:05 David Miller wrote: > From: Andrew Lunn > Date: Wed, 23 Mar 2016 17:51:11 +0100 > > > On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: > >> dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is > >> not set, which can lead to

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Mar 2016 17:51:11 +0100 > On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: >> dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is >> not set, which can lead to unused variable warnings: >> >>

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Mar 2016 17:51:11 +0100 > On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: >> dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is >> not set, which can lead to unused variable warnings: >> >> ethernet/mellanox/mlxsw/pci.c: In

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread Andrew Lunn
On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: > dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is > not set, which can lead to unused variable warnings: > > ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cqe_sdq_handle': >

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread Andrew Lunn
On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: > dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is > not set, which can lead to unused variable warnings: > > ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cqe_sdq_handle': >

[PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread Arnd Bergmann
dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is not set, which can lead to unused variable warnings: ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cqe_sdq_handle': ethernet/mellanox/mlxsw/pci.c:646:18: warning: unused variable 'pdev' [-Wunused-variable]

[PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread Arnd Bergmann
dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is not set, which can lead to unused variable warnings: ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cqe_sdq_handle': ethernet/mellanox/mlxsw/pci.c:646:18: warning: unused variable 'pdev' [-Wunused-variable]