From patchwork Tue Jun 25 08:54:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 18102 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f197.google.com (mail-vc0-f197.google.com [209.85.220.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C096D25E10 for ; Tue, 25 Jun 2013 08:55:49 +0000 (UTC) Received: by mail-vc0-f197.google.com with SMTP id ha12sf1219570vcb.4 for ; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=CyIe6xVJaFOHfYUg52gXjWvV8bEb8Q3xiRAmlaXXYbo=; b=VWdHmTxjJ02K8wLCa+0ECJV2xLZjgMmh9VkG+FEaBiO9va5Hz+TpK3VKKPIrN4HVYr kxVAnoLppro9ln3yzUukqPeiPGxSXreA4rCBDgZ3Mc8AymObrcwP0+54pNOyyQlA24dk DjuELwz2LxB4iKU0a8Zo+0YH8Y3cWsuWuMoHFmIvQrpGRfqfdsnMUinp1S9NDHfuetV1 66lUMEZlLIGI9etg5zaDLLgUuwOfGvKXfG9lKja/bwKnH4X6pPzO3hHzPB0XgMm9+ebw 2L21+hBhfm/aNtozyxvn7icwiSiza+HEqTSsHyP4i3gUvUAfA0Y1XQaEWYnL3lH61nDp hPiw== X-Received: by 10.224.205.138 with SMTP id fq10mr29104163qab.1.1372150549482; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.12.169 with SMTP id z9ls2508902qeb.20.gmail; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) X-Received: by 10.220.67.137 with SMTP id r9mr447149vci.69.1372150549348; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [2607:f8b0:400c:c01::236]) by mx.google.com with ESMTPS id ef7si5994926vdc.7.2013.06.25.01.55.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:49 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::236; Received: by mail-ve0-f182.google.com with SMTP id ox1so9803477veb.27 for ; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) X-Received: by 10.52.27.172 with SMTP id u12mr10747008vdg.64.1372150549267; Tue, 25 Jun 2013 01:55:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp58968veb; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) X-Received: by 10.14.218.136 with SMTP id k8mr28899776eep.111.1372150547803; Tue, 25 Jun 2013 01:55:47 -0700 (PDT) Received: from mail-ee0-x22f.google.com (mail-ee0-x22f.google.com [2a00:1450:4013:c00::22f]) by mx.google.com with ESMTPS id b5si14651608eew.70.2013.06.25.01.55.47 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:47 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c00::22f is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4013:c00::22f; Received: by mail-ee0-f47.google.com with SMTP id e49so6436138eek.6 for ; Tue, 25 Jun 2013 01:55:47 -0700 (PDT) X-Received: by 10.15.54.67 with SMTP id s43mr28749179eew.133.1372150547283; Tue, 25 Jun 2013 01:55:47 -0700 (PDT) Received: from localhost (host156-187-dynamic.52-82-r.retail.telecomitalia.it. [82.52.187.156]) by mx.google.com with ESMTPSA id a4sm34383611eez.0.2013.06.25.01.55.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:46 -0700 (PDT) From: Fabio Baltieri To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Fabio Baltieri Subject: [PATCH 3/6] crypto: ux500/crypt: add missing __iomem qualifiers Date: Tue, 25 Jun 2013 10:54:46 +0200 Message-Id: <1372150489-25594-4-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1372150489-25594-1-git-send-email-fabio.baltieri@linaro.org> References: <1372150489-25594-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQmoqJiH7CcQKe9Y413TKJHyLpJeey5WnIiB0YtKPEJHTsR8z6QOCGfGtKp0GZQSGidxvr/5 X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::236 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add missing __iomem to struct cryp_register pointers, this solve some "incorrect type in initializer (different address spaces)" sparse warnings. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/cryp/cryp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/ux500/cryp/cryp.c b/drivers/crypto/ux500/cryp/cryp.c index 3eafa90..43a0c8a 100644 --- a/drivers/crypto/ux500/cryp/cryp.c +++ b/drivers/crypto/ux500/cryp/cryp.c @@ -291,7 +291,7 @@ void cryp_save_device_context(struct cryp_device_data *device_data, int cryp_mode) { enum cryp_algo_mode algomode; - struct cryp_register *src_reg = device_data->base; + struct cryp_register __iomem *src_reg = device_data->base; struct cryp_config *config = (struct cryp_config *)device_data->current_ctx; @@ -349,7 +349,7 @@ void cryp_save_device_context(struct cryp_device_data *device_data, void cryp_restore_device_context(struct cryp_device_data *device_data, struct cryp_device_context *ctx) { - struct cryp_register *reg = device_data->base; + struct cryp_register __iomem *reg = device_data->base; struct cryp_config *config = (struct cryp_config *)device_data->current_ctx;