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

2014-04-23 Thread Anders Darander
When unmapping the pci memory, the pointer was explicitly casted to void*, thus omitting the __iomem designation. Signed-off-by: Anders Darander anders.daran...@gmail.com --- drivers/staging/rtl8821ae/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2014-04-23 Thread Dan Carpenter
On Wed, Apr 23, 2014 at 02:06:25PM +0200, Anders Darander wrote: When unmapping the pci memory, the pointer was explicitly casted to void*, thus omitting the __iomem designation. It looks like the struct definition should be updated instead of every single reference being casted. regards, dan