Search Linux Wireless

Re: [PATCH -mm] mac80211: fix 1-bit bitfield to unsigned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-06-08 at 10:10 +0200, Johannes Berg wrote:
> Very interesting. We were wondering why the latest git tree doesn't show
> tons of endianness warnings, but it appears that when sparse finds these
> dubious bitfields it turns off all other warnings.
> 
> Zhu Yi, can you apply this patch to your tree and review your code and
> the sparse output and stick le16_to_cpu()/le32_to_cpu() into the
> appropriate places? A whole bunch of things there are endianness broken
> and sparse probably only gives you an approximation of what errors there
> are.

Oh, forgot to mention you need to run
make C=2 CHECKFLAGS="-D__CHECK_ENDIAN__" M=net/mac80211/

(if you weren't aware already.)

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux