RE: [PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Wang, Yalin
x- > ker...@vger.kernel.org' > Subject: Re: [PATCH] carl9170: Convert byte_rev_table uses to bitrev8 > > On Fri, 2014-11-14 at 13:16 +0800, Wang, Yalin wrote: > > Use the inline function instead of directly indexing the array. > > > > This allows some architectures wi

Re: [PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Joe Perches
On Fri, 2014-11-14 at 13:16 +0800, Wang, Yalin wrote: > Use the inline function instead of directly indexing the array. > > This allows some architectures with hardware instructions for bit > reversals to eliminate the array. This one is already in -next commit 7a1283d8f5298437a454ec477384dcd9f9

[PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-11-13 Thread Wang, Yalin
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches Signed-off-by: Yalin Wang --- drivers/net/wireless/ath/carl9170/phy.c | 4 ++-- 1 file changed, 2 inser

[PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-10-28 Thread Joe Perches
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches --- On Sun, 2014-10-26 at 23:46 -0700, Joe Perches wrote: > On Mon, 2014-10-27 at 14:37 +0800, Wang, Yali