Search Linux Wireless

Re: [PATCH] mwl8k: correct/silence sparse warnings

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

 



On Tue, 2010-07-20 at 14:07 -0400, John W. Linville wrote:

>  		off = le32_to_cpu(cmd->rxwrptr) & 0xffff;
> -		iowrite32(cpu_to_le32(priv->rxq[0].rxd_dma), priv->sram + off);
> +		iowrite32((__force __u32) cpu_to_le32(priv->rxq[0].rxd_dma),
> +				priv->sram + off);

Those don't seem right, it looks more like somebody thought they needed
to byteswap the iowrite because PCI(e) is little endian, and were wrong?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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