Search Linux Wireless

Re: [PATCH 3/5] mac80211: replace Mk16 helper with le16_to_cpup

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

 



On Sat, 2008-03-08 at 01:23 -0800, Harvey Harrison wrote:
> Opencoded byte-swapping could just use the kernel helper.

> +	p1k[2] = le16_to_cpup(leptr++);

I'm ok with this if architectures guarantee that these operations work
on unaligned values, but I don't think that is the case.

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