[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 f...@skynet.be --- 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

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

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 j...@perches.com 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

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 j...@perches.com 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

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 julia.law...@lip6.fr wrote: On Wed, 10 Jun 2015, Fabian Frederick wrote: On 10 June 2015 at 21:52 Joe Perches j...@perches.com wrote: On Wed, 2015-06-10 at 18:33 +0200, Fabian Frederick wrote: Use kernel.h macro definition.