On Sat, 2013-01-26 at 23:58 +0100, Johannes Berg wrote:
> On Sat, 2013-01-26 at 12:37 -0800, Thomas Pedersen wrote:
> 
> > +   u32 rates, changed = 0;
> 
> > +           for_each_set_bit(i, (unsigned long *)&rates,
> > +                            sizeof(rates) * BITS_PER_BYTE) {
> 
> this is broken on 64-bit architectures.

Actually, probably only on big endian 64-bit architectures.

johannes

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to