From patchwork Sun Dec 31 14:23:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 123024 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp6872297qgn; Sun, 31 Dec 2017 06:25:20 -0800 (PST) X-Google-Smtp-Source: ACJfBovpdS0bbm0KS91ZlJyJY33MR3ij9KvWhUfheTYdNo2F/EYifQ2lHahPERxEgcuvIj/eGZDr X-Received: by 10.159.246.7 with SMTP id b7mr39006923pls.81.1514730320581; Sun, 31 Dec 2017 06:25:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514730320; cv=none; d=google.com; s=arc-20160816; b=TiTaQkW6I4+Dk4IszTjRd6HN5IaDtANrfIPMkGAZtxf1y+hDbtWRPZnDydq3w+czkp PwGsuToT/Q4k6yRr2mqu+XyA9EjKryXSVVBWmzF4tTqIyojJlteg5LJtLpqLux7ifwYB drMXiD/fegVAonNTeUgfd576VNcZNj0c68SDTiMeBIMDjia9tBI7a4Y/FxYfBxG/K7NO 6osVJv16M03lRqu7aLJy5lZ6RdxBtScLGqqQu8YU5SOCz+IXgprGeP2GU8aeI5EwVR0Z 0FPdxrVAeS7HwdrcIucajr5r9cDwrxV25/vhgrHDx1/QH6YqKP3ETPVGc6KocH9222lQ fa3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=57FyzEUqUi1y/zZRXwBy+4jp5aMBJZR4ndvaQQlCeUc=; b=jVx+YREZ4SzzDnmqEDz/yH/9q7gyp0HReF/bId4++sn5aJbH/Sv0beTi4A5q2vCFLY CXui3UxNetQ3QSgjHlU5aDZKRJ+SJRjrtUeHuO4NiX253tUSmxGH8ZxEcVVNb1Y/PxwF XEwRtW3OXEdJKwVlzS9kdW8VsRt0/Q0g1unH53M3VVrbTl4irZFoVDNrp5HJqQFNDgin 8MHh8FUD0vKy/8DzetvSKZq+QzFfImwBRZNUQmCp3jOQMCBACrFzQJ9iYCSUOBs+q2t7 mZW+MPcRuqJxdVIUIdBQs2yWMZ64Mdyy9V4rQX7lr0RRANEddra8hQfcBc7eFSrX2v3V OoJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YgYSCluw; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t12si16553338pgq.310.2017.12.31.06.25.19; Sun, 31 Dec 2017 06:25:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=YgYSCluw; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750936AbdLaOZS (ORCPT + 10 others); Sun, 31 Dec 2017 09:25:18 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:32824 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841AbdLaOZR (ORCPT ); Sun, 31 Dec 2017 09:25:17 -0500 Received: by mail-wr0-f195.google.com with SMTP id v21so34377332wrc.0 for ; Sun, 31 Dec 2017 06:25:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=osJpOlZd2gVIWfbv7ACXr3JgSweQ4SxBbhhYJTAWIXg=; b=YgYSCluwEG7TdAvj0GCAhRT/cGAGElEsUHG3msEdXs1DgV0+ZTdyNRevzQLUgJFQzr HyrqxjCUn5hARBtf8vj45G71Fbaw/3fGPubPUt2+EncuuksqyGfbPFB98nrHdCMURA1l CLmc4JRBmWly96Lr9r21Sew+Qk1kcxC8E6o4I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=osJpOlZd2gVIWfbv7ACXr3JgSweQ4SxBbhhYJTAWIXg=; b=hIfeCEMALqovgEXxZX+GQe8ZG1fKButu4jfdb1pjYXdcSAGNq2HLCgv5SWXvdDdGRo 401hgMsd+9aOpoDSYv/sRYwTWKLh7SSXEQUQ2byesuP8M2yDXc+CRWChbZg1s05zLe2d M5QaALF3HbOCe56F3p+iLWsOXWhtj2GJEfr1VCjD2j7jKg0sRrhI9jw2T1Ca4d+F3fHy U44OX6grTTsYipdWk4q74kR0Gxgd+0oHasticvCgr0SL9XFI8rkxMkinHK36TBa0/m2N 3JAkWWglzIx0UPCqbh7kn4S8PL8quLGJiJz503c/A1h3tZEPJgWkO12yIgwC75iAqvZ1 8cYQ== X-Gm-Message-State: AKGB3mI9gr3ClZzFrkGV/QZFPvPG9m4wUwfUqUmF2gL+DR04RQ9asBs7 cYAbRuQTBPc33NvVHjRy/7Hn6w== X-Received: by 10.223.139.152 with SMTP id o24mr42706248wra.243.1514730316702; Sun, 31 Dec 2017 06:25:16 -0800 (PST) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id r64sm61325246wrb.62.2017.12.31.06.25.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 Dec 2017 06:25:15 -0800 (PST) From: srinivas.kandagatla@linaro.org To: Greg Kroah-Hartman Cc: sdharia@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH] slimbus: qcom: fix incompatible pointer warning Date: Sun, 31 Dec 2017 14:23:11 +0000 Message-Id: <20171231142311.7952-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.15.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: Srinivas Kandagatla One of the pointer passed to dmam_alloc_coherent seems to be phys_addr_t * instead of dma_addr_t *. This address will be used by dma apis, so change this to proper type. Reported-by: kbuild test robot Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c index 35ad70dbfe3a..f51de1277912 100644 --- a/drivers/slimbus/qcom-ctrl.c +++ b/drivers/slimbus/qcom-ctrl.c @@ -93,7 +93,7 @@ struct slim_ctrl_buf { void *base; - phys_addr_t phy; + dma_addr_t phy; spinlock_t lock; int head; int tail;