[rt2x00-users] [PATCH 1/2] rt2x00: Use ioremap for SoC devices instead of KSEG1ADDR.

Ivo Van Doorn ivdoorn at gmail.com
Wed Jul 21 04:53:48 AEST 2010

On Sat, Jul 17, 2010 at 5:28 PM, Gertjan van Wingerde
<gwingerde at gmail.com> wrote:
> Make the code a bit more portable to architectures that do not support
> Signed-off-by: Gertjan van Wingerde <gwingerde at gmail.com>
> ---

Could you check this sparse issue, which is introduced with your patch:

drivers/net/wireless/rt2x00/rt2800pci.c:89:27: warning: cast removes
address space of expression
drivers/net/wireless/rt2x00/rt2800pci.c:91:42: warning: incorrect type
in argument 2 (different address spaces)
drivers/net/wireless/rt2x00/rt2800pci.c:91:42:    expected void const
volatile [noderef] <asn:2>*src
drivers/net/wireless/rt2x00/rt2800pci.c:91:42:    got unsigned int
[usertype] *base_addr



More information about the users mailing list