Re: [PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning

2016-09-17 Thread Greg KH
On Fri, Sep 16, 2016 at 07:05:52PM -0700, Peng Sun wrote:
> Signed-off-by: Peng Sun 
> ---
>  drivers/staging/slicoss/slicoss.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

And again, I can't take patches without any changelog text at all.


Re: [PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning

2016-09-17 Thread Greg KH
On Fri, Sep 16, 2016 at 07:05:52PM -0700, Peng Sun wrote:
> Signed-off-by: Peng Sun 
> ---
>  drivers/staging/slicoss/slicoss.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

And again, I can't take patches without any changelog text at all.


[PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning

2016-09-16 Thread Peng Sun
Signed-off-by: Peng Sun 
---
 drivers/staging/slicoss/slicoss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/slicoss/slicoss.c 
b/drivers/staging/slicoss/slicoss.c
index 59c4fbc..abe7592 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -2883,7 +2883,7 @@ static int slic_init_adapter(struct net_device *netdev,
if (!sm_data)
return -ENOMEM;
 
-   sm->shmem_data = sm_data;
+   sm->shmem_data = (struct slic_shmem_data __force __iomem *)sm_data;
sm->isr_phaddr = phaddr;
sm->lnkstatus_phaddr = phaddr + offsetof(struct slic_shmem_data,
 lnkstatus);
-- 
2.7.4



[PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning

2016-09-16 Thread Peng Sun
Signed-off-by: Peng Sun 
---
 drivers/staging/slicoss/slicoss.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/slicoss/slicoss.c 
b/drivers/staging/slicoss/slicoss.c
index 59c4fbc..abe7592 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -2883,7 +2883,7 @@ static int slic_init_adapter(struct net_device *netdev,
if (!sm_data)
return -ENOMEM;
 
-   sm->shmem_data = sm_data;
+   sm->shmem_data = (struct slic_shmem_data __force __iomem *)sm_data;
sm->isr_phaddr = phaddr;
sm->lnkstatus_phaddr = phaddr + offsetof(struct slic_shmem_data,
 lnkstatus);
-- 
2.7.4