Re: [PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Fabian Frederick
> On 10 June 2015 at 22:29 Julia Lawall wrote: > > > > > On Wed, 10 Jun 2015, Fabian Frederick wrote: > > > > > > > > On 10 June 2015 at 21:52 Joe Perches wrote: > > > > > > > > > On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote: > > > > Use kernel.h macro definition. > > > > > > > > T

Re: [PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Julia Lawall
On Wed, 10 Jun 2015, Fabian Frederick wrote: > > > > On 10 June 2015 at 21:52 Joe Perches wrote: > > > > > > On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote: > > > Use kernel.h macro definition. > > > > > > Thanks to Julia Lawall for Coccinelle scripting support. > > [] > > > diff -

Re: [PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Fabian Frederick
> On 10 June 2015 at 21:52 Joe Perches wrote: > > > On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote: > > Use kernel.h macro definition. > > > > Thanks to Julia Lawall for Coccinelle scripting support. > [] > > diff --git a/drivers/net/wireless/ath/ath5k/phy.c > > b/drivers/net/wireless

Re: [PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Joe Perches
On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. [] > diff --git a/drivers/net/wireless/ath/ath5k/phy.c > b/drivers/net/wireless/ath/ath5k/phy.c [] > @@ -1566,17 +1566,13 @@ static s16 > ath5k

[PATCH 1/1 linux-next] ath5k: use swap() in ath5k_hw_get_median_noise_floor()

2015-06-10 Thread Fabian Frederick
Use kernel.h macro definition. Thanks to Julia Lawall for Coccinelle scripting support. Signed-off-by: Fabian Frederick --- drivers/net/wireless/ath/ath5k/phy.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wirele