[PATCH] ssb: Convert to use crc8 code in kernel library

Michael Büsch m at bues.ch
Fri Oct 14 12:47:24 EDT 2011


On Fri, 14 Oct 2011 11:30:10 -0500
Larry Finger <Larry.Finger at lwfinger.net> wrote:

> I am pretty sure that the compiler would optimize out the entire htol16_buf 
> routine. After substitution for cpu_to_le16() on a little-endian system, the 
> statement in the while loop becomes '*(buf + size) = *(buf + size)', which is 

(There also is cpu_to_le16s(). Just for the record.)

-- 
Greetings, Michael.



More information about the b43-dev mailing list