Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1482897
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Peng Sun <sironhide0null@gmail.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 05/10] staging: slicoss: slicoss.c: fix different address space sparse warning |
| Date | Wed, 14 Sep 2016 05:10:01 +0200 |
| Message-ID | <sh8Kd-2KP-11@gated-at.bofh.it> (permalink) |
| References | <sh8Kd-2KP-5@gated-at.bofh.it> |
| X-Original-To | liodot@gmail.com, charrer@alacritech.com, gregkh@linuxfoundation.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=V35UgHM+QWbwUFsFNCwH/0EbhHatshB33kqwoVUkTus=; b=Lfua+g84rFzPSW58wwZ+IoCylB26f3JgyPON5wEu4rWp575bTxA+qQmWEARbzCnUam w2F2hbqfJmYYuihkMkPuGHQ5yYDCgzesSj1sOCwU3PYgB/zbmDUY88uq5OlvfpVoZn9i +gJDldon3ofkMpqzm/ByfQiNEZ2hjFKU+8j2/ivQSxx2OPySmv5edWD01YqpAIHGxaPT d3as60clgz7+CbBdKxLO06BtOipneErkY7QIg6tVwABYpRhwwJzTUZT+kcBkm8pZb7s6 F1L7CJkG5B9w6sKVmw+zKiuN/tdm8GC4tye2w+sbR5f1VDTYCRG5cLp7DKVGMX13Xr7k mfAw== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=V35UgHM+QWbwUFsFNCwH/0EbhHatshB33kqwoVUkTus=; b=AOoQ9mug91FHeZQWmPegh8iRwTFRnzag2baPMjmKQbD8o0nxc97Ip7DIlUa5IBSfrj f2th+nrZLMJnRm71eyt2mIxxD3hRGRemIy19AVOsDq9OB6ePl04sCq/ylW3uVUFmK0YF r0gVRy25hr/PtgTtmQUICVDqebUdJjbGacT2gCNJIqn3HtmeqK5ntDWNkzhIU6bQG3vl 9D8gJylzOaJTuaIdJilUiK8Vg6YqDs4XpI6ydtzzI22eE105tef5uNLrJcHw2FDSZtFe qpbDrCpWnvDVda6gaDNnjc312OqZJIW/2Rvtmd2uz6Iq3ab2S7qZfYV+KtY74LdBesaN /lbA== |
| X-Gm-Message-State | AE9vXwP0GxXhSzIHLENEOc4iNe/RLAXxN6piubOO475zgpLt9M5opTp5ahFLjuUpCPI/Tg== |
| X-Received | by 10.98.13.73 with SMTP id v70mr370320pfi.149.1473822023170; Tue, 13 Sep 2016 20:00:23 -0700 (PDT) |
| X-Mailer | git-send-email 2.7.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 22 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, Peng Sun <sironhide0null@gmail.com> |
| X-Original-Date | Tue, 13 Sep 2016 19:59:54 -0700 |
| X-Original-Message-ID | <73f5aeb587e505b0b81da8a8b86cd130670310e2.1473821899.git.sironhide0null@gmail.com> |
| X-Original-References | <cover.1473821899.git.sironhide0null@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1482897 |
Show key headers only | View raw
Signed-off-by: Peng Sun <sironhide0null@gmail.com>
---
drivers/staging/slicoss/slicoss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index 21280a3..929a0d5 100644
--- a/drivers/staging/slicoss/slicoss.c
+++ b/drivers/staging/slicoss/slicoss.c
@@ -924,8 +924,8 @@ err_unlock_irq:
static void slic_link_upr_complete(struct adapter *adapter, u32 isr)
{
struct slic_shmemory *sm = &adapter->shmem;
- struct slic_shmem_data *sm_data = sm->shmem_data;
- u32 lst = sm_data->lnkstatus;
+ struct slic_shmem_data __iomem *sm_data = sm->shmem_data;
+ u32 lst = IOMEM_GET_FIELD32(sm_data, lnkstatus);
uint linkup;
unsigned char linkspeed;
unsigned char linkduplex;
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/10] staging: slicoss: fix different address space sparse warnings Peng Sun <sironhide0null@gmail.com> - 2016-09-14 05:10 +0200
[PATCH 05/10] staging: slicoss: slicoss.c: fix different address space sparse warning Peng Sun <sironhide0null@gmail.com> - 2016-09-14 05:10 +0200
[PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings Peng Sun <sironhide0null@gmail.com> - 2016-09-14 05:10 +0200
Re: [PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings Greg KH <gregkh@linuxfoundation.org> - 2016-09-16 10:00 +0200
Re: [PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings Greg KH <gregkh@linuxfoundation.org> - 2016-09-16 10:00 +0200
Re: [PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings zerons <sironhide0null@gmail.com> - 2016-09-16 12:50 +0200
Re: [PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings Greg KH <gregkh@linuxfoundation.org> - 2016-09-16 15:00 +0200
Re: [PATCH 01/10] staging: slicoss: slic.h: add a macro IOMEM_GET_FIELDADDR to fix sparse warnings zerons <sironhide0null@gmail.com> - 2016-09-16 16:00 +0200
[PATCH 09/10] staging: slicoss: slicoss.c: fix different address space sparse warning Peng Sun <sironhide0null@gmail.com> - 2016-09-14 05:10 +0200
[PATCH 03/10] staging: slicoss: slic.h: add a macro IOMEM_SET_FIELD32 to fix sparse warnings Peng Sun <sironhide0null@gmail.com> - 2016-09-14 05:10 +0200
csiph-web