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: 2775411 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DF50A9F3A0 for ; Tue, 25 Jun 2013 08:58:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C72FF201C3 for ; Tue, 25 Jun 2013 08:58:41 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 17D1F201C0 for ; Tue, 25 Jun 2013 08:58:40 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrP3O-0006Bj-W0; Tue, 25 Jun 2013 08:56:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrP33-0008LX-Qn; Tue, 25 Jun 2013 08:56:25 +0000 Received: from mail-ee0-x231.google.com ([2a00:1450:4013:c00::231]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UrP2n-0008I2-46 for linux-arm-kernel@lists.infradead.org; Tue, 25 Jun 2013 08:56:10 +0000 Received: by mail-ee0-f49.google.com with SMTP id b57so6444158eek.8 for ; Tue, 25 Jun 2013 01:55:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=CyIe6xVJaFOHfYUg52gXjWvV8bEb8Q3xiRAmlaXXYbo=; b=OADB9axx74A3bl97QSoGZbjyoOVZnvH5ha1xB7uRbLA8oLuUX1Ue/LLaP4cA4OW3uB JzdSFxQCeGHYOcdVIAoI7CXiiV1yQF9QVtfwcEPkprpHP9mnzkLjOjvdEclAnPvwuebe V94LfHN4NH1NjHmwxxk6mJgBkT3VBT/ev8DWXvvNaY97hn64txO5EdcUelvsT/5Kl1sI XafwmVMmBPeOJt7+HwmuRG7SmcylCdOTrnCKXrLo3QJLya2OaMRKu4XmOIkwtYOr77Xs 4QZgRPrycxOt2X5M7LCD7aa0PjEXGdEjZkeLaDEel5UkXQlN9J1KpyxWeSTqSUeIZkaF b1MQ== 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 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: ALoCoQklJj8/2OLfrUdyyOmgrnwUFHKF54tBFoqbWYn/GcHxeaz6b1k4jfeD0ruwgewyWjXByEGP X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130625_045609_403530_441DE9B1 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -1.9 (-) Cc: Fabio Baltieri , Linus Walleij , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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;