From patchwork Mon Nov 13 14:45:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 118791 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1879521qgn; Mon, 13 Nov 2017 06:47:03 -0800 (PST) X-Google-Smtp-Source: AGs4zMboCDTrk7C+tgzuRdey1klCEaoveJO9Rp+QyTYIvps1x/2PR38xgGPIwSMeKUrqZ22mO+tF X-Received: by 10.99.169.25 with SMTP id u25mr8673463pge.77.1510584423011; Mon, 13 Nov 2017 06:47:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510584423; cv=none; d=google.com; s=arc-20160816; b=epPiGnyq162w+C4vMVDGYTFGyIn1k9dU1S9DppDnyJk6AaS9B2V9RnS/AHrDvotC7a xR0GlIGpEKpGBi/ys1+hRq8pWdzzvPDBipi4Rdv1/x155etw9r5rivfg1BeNFSMYaEXk 5Xl+w2zy/SIPLVlwALxDBgb+ee4GiY4JX8YEM5tmMVGlDiyCXolHpk7c+yCD1HKExUGx OIorZ69gj9PBDbOlx4nDSoxu7q1qmoc1El6HRS6veJ6TVkQblnK176jw+NrgN1wf+ZR3 W+YlYwU9YcwHhY4f8wtuZXKgJgUu5V1XO6pyUF+E1W6yjT8/+94C0uaLzjBPDbulBH8b Oz/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=rWwLzVguR50/VaEqqnpTZSsCHe01yaBKmd44eM3VaAM=; b=hjrsXE3KwIbmzhZZ9o7INOmgaV1hmt7zjx+tuEnBTUz8Ms4M6k6wQ3Yh8OK77x7mk/ 6fj6FpjUB+b00rhS0i4FHvNQx+v6Svn82rBKtzVNIG7bGv8mIZo8XY5cbA/erkDe33eV PHBpgZwMRNj33w8Wn4qTntDaQP3sH5SozlUJF5nMwvZFOskKp0V5rERgI/gdT8BQSpDy uOiRg2MKTU61K//p58YJPBX8SGT0ivLyp0eT31ux67K3qMDYTDvaj2DBInHVSXrZSr1N MMQxEEfizNVs1Ewble1wetbJhOHqa9XtaAYY6d9m2SIAOv8QMUDq6ncONnbakPeAcue8 MQYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3si13469490pgp.202.2017.11.13.06.47.02; Mon, 13 Nov 2017 06:47:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753242AbdKMOrA (ORCPT + 27 others); Mon, 13 Nov 2017 09:47:00 -0500 Received: from foss.arm.com ([217.140.101.70]:47312 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753103AbdKMOq5 (ORCPT ); Mon, 13 Nov 2017 09:46:57 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8ACC81435; Mon, 13 Nov 2017 06:46:57 -0800 (PST) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E88373F318; Mon, 13 Nov 2017 06:46:55 -0800 (PST) From: Gilad Ben-Yossef To: Greg Kroah-Hartman Cc: Ofir Drang , linux-crypto@vger.kernel.org, driverdev-devel@linuxdriverproject.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/24] staging: ccree: remove unneeded cast Date: Mon, 13 Nov 2017 14:45:35 +0000 Message-Id: <1510584358-29473-8-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510584358-29473-1-git-send-email-gilad@benyossef.com> References: <1510584358-29473-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove uneeded cast from writel_relaxed parameter. Signed-off-by: Gilad Ben-Yossef --- drivers/staging/ccree/ssi_request_mgr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.7.4 diff --git a/drivers/staging/ccree/ssi_request_mgr.c b/drivers/staging/ccree/ssi_request_mgr.c index 597a71f..e23c656 100644 --- a/drivers/staging/ccree/ssi_request_mgr.c +++ b/drivers/staging/ccree/ssi_request_mgr.c @@ -167,13 +167,13 @@ static inline void enqueue_seq( int i; for (i = 0; i < seq_len; i++) { - writel_relaxed(seq[i].word[0], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); - writel_relaxed(seq[i].word[1], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); - writel_relaxed(seq[i].word[2], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); - writel_relaxed(seq[i].word[3], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); - writel_relaxed(seq[i].word[4], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[0], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[1], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[2], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[3], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[4], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); wmb(); - writel_relaxed(seq[i].word[5], (volatile void __iomem *)(cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); + writel_relaxed(seq[i].word[5], (cc_base + CC_REG(DSCRPTR_QUEUE_WORD0))); #ifdef DX_DUMP_DESCS dev_dbg(dev, "desc[%02d]: 0x%08X 0x%08X 0x%08X 0x%08X 0x%08X 0x%08X\n", i, seq[i].word[0], seq[i].word[1], seq[i].word[2],