From patchwork Sun Sep 21 16:03:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 4944051 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7B806BEEA5 for ; Sun, 21 Sep 2014 16:06:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8193201FA for ; Sun, 21 Sep 2014 16:06:27 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 8AABD20109 for ; Sun, 21 Sep 2014 16:06:26 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 6EB73265546; Sun, 21 Sep 2014 18:06:25 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id A24C02652E5; Sun, 21 Sep 2014 18:04:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3434D2652E5; Sun, 21 Sep 2014 18:04:40 +0200 (CEST) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by alsa0.perex.cz (Postfix) with ESMTP id 9F616261B28 for ; Sun, 21 Sep 2014 18:04:07 +0200 (CEST) Received: by mail-pd0-f173.google.com with SMTP id y10so2866187pdj.32 for ; Sun, 21 Sep 2014 09:04:06 -0700 (PDT) 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; bh=C8iXmyXKTczVAPIKZ8UGknSB2pQp2NHlcnRHd374jq8=; b=LgYLNRc/JrbJjCZ20JqNcQ8SwnHfO3PCLVZvYJZibr7KzU8yGwUqWCKMB3fp0zyx8Y j2SlN61umVR9DwNVArc79VC184yaDdPdCdH8xocB60poFhbubzjJW9gAQ3vrcU3Lf9ZK 786Y1VtXUdYBlEq82jYSZMa/XgANYVSKlqXaYLYVEZ7B2CjatEUeFqrqOB/C+wswGxqX 4DxNYclFwH8HMb2I46WF3qSwT0xyiolglab2ORhcdNCm0WR8swmpVCOyN55HNbv0Mg58 XohJe1OrvJLMQqLQhl9elACqqwaoazH0ejsDPKBZl/eeRKWXuCnMXRmxXP528sap8e2H 9zhw== X-Received: by 10.70.38.109 with SMTP id f13mr15737597pdk.74.1411315446610; Sun, 21 Sep 2014 09:04:06 -0700 (PDT) Received: from localhost.localdomain ([122.169.152.214]) by mx.google.com with ESMTPSA id nl2sm7053380pdb.83.2014.09.21.09.04.03 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 21 Sep 2014 09:04:05 -0700 (PDT) From: Sudip Mukherjee To: Jaroslav Kysela , Takashi Iwai Date: Sun, 21 Sep 2014 21:33:41 +0530 Message-Id: <1411315421-24138-5-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1411315421-24138-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1411315421-24138-1-git-send-email-sudipm.mukherjee@gmail.com> Cc: alsa-devel@alsa-project.org, Sudip Mukherjee , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH v3 5/5] sound: pci: ctxfi: cthw20k1.c: sparse warning of incorrect type X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP fixed sparse warning incorrect type (different address spaces) Signed-off-by: Sudip Mukherjee --- sound/pci/ctxfi/cthw20k1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/ctxfi/cthw20k1.c b/sound/pci/ctxfi/cthw20k1.c index b807391..76db449 100644 --- a/sound/pci/ctxfi/cthw20k1.c +++ b/sound/pci/ctxfi/cthw20k1.c @@ -1803,7 +1803,7 @@ static int uaa_to_xfi(struct pci_dev *pci) unsigned int is_uaa; unsigned int data[4] = {0}; unsigned int io_base; - void *mem_base; + void __iomem *mem_base; int i; const u32 CTLX = CTLBITS('C', 'T', 'L', 'X'); const u32 CTL_ = CTLBITS('C', 'T', 'L', '-'); @@ -1987,7 +1987,7 @@ static int hw_card_shutdown(struct hw *hw) hw->irq = -1; if (hw->mem_base) - iounmap((void *)hw->mem_base); + iounmap((void __iomem *)hw->mem_base); hw->mem_base = (unsigned long)NULL;