Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932301AbcKRR4l (ORCPT ); Fri, 18 Nov 2016 12:56:41 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35740 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932174AbcKRR4f (ORCPT ); Fri, 18 Nov 2016 12:56:35 -0500 From: Sergio Paracuellos To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, liodot@gmail.com, charrer@alacritech.com Subject: [PATCH v4] staging: slicoss: fix different address space warnings Date: Fri, 18 Nov 2016 18:57:18 +0100 Message-Id: <1479491838-10311-2-git-send-email-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479491838-10311-1-git-send-email-sergio.paracuellos@gmail.com> References: <1479491838-10311-1-git-send-email-sergio.paracuellos@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 25 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 --git a/drivers/staging/slicoss/slic.h b/drivers/staging/slicoss/slic.h index 420546d..14d7555 100644 --- a/drivers/staging/slicoss/slic.h +++ b/drivers/staging/slicoss/slic.h @@ -380,7 +380,7 @@ struct slic_shmemory { dma_addr_t isr_phaddr; dma_addr_t lnkstatus_phaddr; dma_addr_t stats_phaddr; - struct slic_shmem_data __iomem *shmem_data; + struct slic_shmem_data *shmem_data; }; struct slic_upr { -- 1.9.1