Search Linux Wireless

Re: b43 : unaligned access on mips

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

 



On Tue, 2009-06-02 at 00:00 +0200, matthieu castet wrote:
> matthieu castet wrote:
> > Hi,
> > 
> > b43_generate_plcp_hdr generate unaligned access on mips with gcc [1] 
> > from openwrt.
> > 
> > A small testcase [2] show that &plcp->data is access as a 32 bit aligned 
> > variable (see the "lw      $2,0($4)" and "sw      $2,0($4)").
> > I don't know enough mips to know if it is a gcc bug (ignoring the packed 
> > attribute) or something missing in b43 code.
> For example using "plcp->data" instead "*data" produce the correct code.

That's valid, send a patch.

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