Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-21 Thread Sergio Paracuellos
On Mon, Nov 21, 2016 at 11:09 AM, Greg KH wrote: > Ok, I'm lost too, sorry. I looked at the driver and shmem_data is > created by calling pci_zalloc_consistent, and that's not __iomem space, > but a real pointer. > > So your patch is correct here, sorry for the noise, I'll go apply it. > > thank

Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-21 Thread Greg KH
On Sun, Nov 20, 2016 at 09:21:51AM +0100, Sergio Paracuellos wrote: > On Sat, Nov 19, 2016 at 2:20 PM, Greg KH wrote: > > On Fri, Nov 18, 2016 at 06:57:18PM +0100, Sergio Paracuellos wrote: > >> Remove incorrect __iomem annotation. > >> > >> This patch fix the following sparse warnings in slicoss

Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-20 Thread Sergio Paracuellos
On Sat, Nov 19, 2016 at 2:20 PM, Greg KH wrote: > On Fri, Nov 18, 2016 at 06:57:18PM +0100, Sergio Paracuellos wrote: >> Remove incorrect __iomem annotation. >> >> This patch fix the following sparse warnings in slicoss driver: >> warning: incorrect type in assignment (different address spaces) >>

Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-19 Thread Greg KH
On Fri, Nov 18, 2016 at 06:57:18PM +0100, Sergio Paracuellos wrote: > Remove incorrect __iomem annotation. > > This patch fix the following sparse warnings in slicoss driver: > warning: incorrect type in assignment (different address spaces) > > Signed-off-by: Sergio Paracuellos > --- > drivers

[PATCH v4] staging: slicoss: fix different address space warnings

2016-11-18 Thread Sergio Paracuellos
Remove incorrect __iomem annotation. This patch fix the following sparse warnings in slicoss driver: warning: incorrect type in assignment (different address spaces) Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4] staging: slicoss: fix different address space warnings

2016-11-18 Thread Sergio Paracuellos
This patchset fix the following sparse warning: warning: incorrect type in assignment (different address spaces) Changes in v2: * Remove IOMEM_GET_FIELDADDR macro * Add ioread64 and iowrite64 defines Changes in v3: * Remove ioread64 and iowrite64 defines * Split into two patches: one for 32 bits