From patchwork Tue Jul 3 14:06:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Dureghello X-Patchwork-Id: 10504159 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1469C602BC for ; Tue, 3 Jul 2018 14:06:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03EF126E49 for ; Tue, 3 Jul 2018 14:06:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC4CB289B5; Tue, 3 Jul 2018 14:06:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA01026E49 for ; Tue, 3 Jul 2018 14:06:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932399AbeGCOGk (ORCPT ); Tue, 3 Jul 2018 10:06:40 -0400 Received: from ec2-18-194-220-216.eu-central-1.compute.amazonaws.com ([18.194.220.216]:60092 "EHLO sysam.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932105AbeGCOGj (ORCPT ); Tue, 3 Jul 2018 10:06:39 -0400 Received: from localhost (localhost [127.0.0.1]) by sysam.it (Postfix) with ESMTP id C4EE421B09; Tue, 3 Jul 2018 14:06:37 +0000 (UTC) Received: from sysam.it ([127.0.0.1]) by localhost (sysam.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 36fKwnwefgJJ; Tue, 3 Jul 2018 14:06:36 +0000 (UTC) Received: from localhost.localdomain (host51-24-dynamic.54-79-r.retail.telecomitalia.it [79.54.24.51]) by sysam.it (Postfix) with ESMTPSA id 7C7E921B08; Tue, 3 Jul 2018 14:06:36 +0000 (UTC) From: Angelo Dureghello To: vinod.koul@linaro.org Cc: dmaengine@vger.kernel.org, Angelo Dureghello Subject: [PATCH] dmaengine: fsl-edma-common: fix semantic check errors Date: Tue, 3 Jul 2018 16:06:33 +0200 Message-Id: <20180703140633.24805-1-angelo@sysam.it> X-Mailer: git-send-email 2.18.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixes 'different address space' errors. Signed-off-by: Angelo Dureghello --- drivers/dma/fsl-edma-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c index 17d677bd11f9..72e52c1b5527 100644 --- a/drivers/dma/fsl-edma-common.c +++ b/drivers/dma/fsl-edma-common.c @@ -228,7 +228,7 @@ static void fsl_edma_set_tcd_regs(struct fsl_edma_chan *fsl_chan, struct fsl_edma_hw_tcd *tcd) { struct fsl_edma_engine *edma = fsl_chan->edma; - struct fsl_edma_hw_tcd *mtcd = edma->regs.tcd + struct fsl_edma_hw_tcd __iomem *mtcd = edma->regs.tcd + fsl_chan->vchan.chan.chan_id; /*