[PATCH linux-next v2] staging/rtl8821ae: fix sparse address space warning

2014-04-23 Thread Anders Darander
Change the definition of pci_mem_start|end from correct from pci_io(un)map's point of view. Signed-off-by: Anders Darander anders.daran...@gmail.com --- Changes v1 - v2: * Change the struct definition instead of casting all pci_iomap and pci_iounmap calls.

Re: [PATCH linux-next v2] staging/rtl8821ae: fix sparse address space warning

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 02:59:46PM +0200, Anders Darander wrote: Change the definition of pci_mem_start|end from correct from pci_io(un)map's point of view. Terrific. Thanks! If you really wanted to then you could just delete pci_mem_end and also you could remove all the casting of