Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1485464 > unrolled thread

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

Started byPeng Sun <sironhide0null@gmail.com>
First post2016-09-17 04:10 +0200
Last post2016-09-17 10:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning Peng Sun <sironhide0null@gmail.com> - 2016-09-17 04:10 +0200
    Re: [PATCH 7/7] staging: slicoss: slicoss.c: fix different address  space sparse warning Greg KH <gregkh@linuxfoundation.org> - 2016-09-17 10:40 +0200

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

FromPeng Sun <sironhide0null@gmail.com>
Date2016-09-17 04:10 +0200
Subject[PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning
Message-ID<sideN-4J0-5@gated-at.bofh.it>
Signed-off-by: Peng Sun <sironhide0null@gmail.com>
---
 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

[toc] | [next] | [standalone]


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

FromGreg KH <gregkh@linuxfoundation.org>
Date2016-09-17 10:40 +0200
SubjectRe: [PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning
Message-ID<sijkd-ei-21@gated-at.bofh.it>
In reply to#1485464
On Fri, Sep 16, 2016 at 07:05:52PM -0700, Peng Sun wrote:
> Signed-off-by: Peng Sun <sironhide0null@gmail.com>
> ---
>  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.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web