Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3658883pxb; Mon, 24 Jan 2022 14:39:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwBqEVWKk0t4vq1F7+++hxh4JNIyEiBHeviRHLSzIRkvPvJygJuXBwaMm0wbMBkGAybYWi1 X-Received: by 2002:a05:6a00:15c3:b0:4c8:fc0f:4489 with SMTP id o3-20020a056a0015c300b004c8fc0f4489mr7258507pfu.9.1643063993104; Mon, 24 Jan 2022 14:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643063993; cv=none; d=google.com; s=arc-20160816; b=RovHQ9TwTNXuAMUNuHgo+CGD/oQXpe3WgxJX6n+Z0EAkJBGMhJl9CTxdh76TQZbC7M kfLOrkSDP3boYQ49TcUN71R5JDmYA1Nzci4tAYDeyoLz+Q+0jQ8iMb1PvPwjL1asBHvT 00u2sjGyCoDudEplRRyf0fmnnEwj3CMjhPflyHEtgh8UdMV2szjdn/dsLcK20Vnid6uF jrUKB5nmkrpHRSLp31Ucaq3HsbziDex0p+o0tT+VvjsQkKnNrPklL4cpUDU1QBS+F/5K fcN6EWfTuEgFSkNJvgJt66ofPwkRz5TWn/caEwtA4RF37CjoQl1P4FsALLvpYbImXCwI s5rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=iqGVkolV3s1JOURNG4czC8Up8f6sDXCHj5pq9Ycl9FY=; b=vkGo0vs4bbcY79WTBf5D/qv54gZHpj7H6gwKoEHyttDB7x/ozzGs7A1ICtIBgBSJ6J CdgYTgGnmMxzhQs+FKZnMtKe6nFGvP5jJz+3IgkW9bFc9W+DYJKjIb8nDZNs35RyGa27 d4wNNBRQ/ac4zlkuF/btHEXSwcw5+oLc/vdchfSSkbXVoBnHZ5mfNX4DyW+BACxClCkF j0cpRAJKz+NoNYP6tUd3QEVEqLiF8TlsgMP0s2MlHGBF4g3YUkewMBz/z32rhUi4jpwP MEnOptBT2UDnOKQ5sZcCGUTjDmR3QMso+kwGjdW/sLQCftrU6mHlKBlZtA3PUqgrV9yD F+vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fQLJ1GsV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l10si467617pjf.126.2022.01.24.14.39.41; Mon, 24 Jan 2022 14:39:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fQLJ1GsV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1588849AbiAXWeP (ORCPT + 99 others); Mon, 24 Jan 2022 17:34:15 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:51144 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1456516AbiAXVj0 (ORCPT ); Mon, 24 Jan 2022 16:39:26 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EA597B8121C; Mon, 24 Jan 2022 21:39:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22A8BC340E4; Mon, 24 Jan 2022 21:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643060363; bh=x7S04SykEtkNO6jyz+/ia/IfgXn8OU6ejHj5ebXM5TE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fQLJ1GsVFYJCvPI7lxgqGbnHA6/NQTnycWzOSkw6+J1/QBT5jLh2gpDindsoUINZH 2g1KikLyWJ4vf0YGDRsD7YHF7cP1SPnMYGn11iKmsgkfmHl5VfmhyP1yHPSM+VCyC4 KU49ZW9IBeZ08zobOMXOwLND2RmE7XbaF5h7wdi4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kunihiko Hayashi , Vinod Koul Subject: [PATCH 5.16 0923/1039] dmaengine: uniphier-xdmac: Fix type of address variables Date: Mon, 24 Jan 2022 19:45:12 +0100 Message-Id: <20220124184156.323754976@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kunihiko Hayashi commit 105a8c525675bb7d4d64871f9b2edf39460de881 upstream. The variables src_addr and dst_addr handle DMA addresses, so these should be declared as dma_addr_t. Fixes: 667b9251440b ("dmaengine: uniphier-xdmac: Add UniPhier external DMA controller driver") Signed-off-by: Kunihiko Hayashi Link: https://lore.kernel.org/r/1639456963-10232-1-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/dma/uniphier-xdmac.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/drivers/dma/uniphier-xdmac.c +++ b/drivers/dma/uniphier-xdmac.c @@ -131,8 +131,9 @@ uniphier_xdmac_next_desc(struct uniphier static void uniphier_xdmac_chan_start(struct uniphier_xdmac_chan *xc, struct uniphier_xdmac_desc *xd) { - u32 src_mode, src_addr, src_width; - u32 dst_mode, dst_addr, dst_width; + u32 src_mode, src_width; + u32 dst_mode, dst_width; + dma_addr_t src_addr, dst_addr; u32 val, its, tnum; enum dma_slave_buswidth buswidth;