Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3438633ybt; Tue, 30 Jun 2020 02:48:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzamgGnANR7x/lgHiTH8hN/MmyiN+H6kASUKfyiT+YznRdX3kcaa6HWerLygeW2Rs+5wF5m X-Received: by 2002:a50:d753:: with SMTP id i19mr22872705edj.9.1593510532819; Tue, 30 Jun 2020 02:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593510532; cv=none; d=google.com; s=arc-20160816; b=chEIGs3+sl88EO6ecNf2Gr8mTurYJlc8E7X6sLfMuJG9wOljS0Ta+MUX5WbrMUzer+ BY4XGx/v1Y8uubpPR7oBiEvLPCZNxIx+KXQJ9gTrY5T/ZZp1QkV4icaVbfVQdHnyzIb/ E4RTFThBnklhRrS5AYpsJnjd4MnrLOQdCElO19fZSPzFWakKVBQnQeQyajoDadptWn4n AR9FNeCy6Y80f9pX5Bp8KapkD4fWZyXEVgk00mI7XLC3UNd4lLC8MwZAkNoHogUJTVHn KulTPQMf2M0h6adT2RkPv6/n2PWdPpvb2GeDegRpm4I5TgraLUUsBusis+bgou/kcUqz UEhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oNC78CqpkvHbTzJl7ozjMpsWiFnQpCxrCq3wYkDslBw=; b=QImXJ7p//JsHO9SreXvLLoE53sH2cuTaVMUEIdX55uDahMDuiAXLT3KuWTYOBoTE/S t7IYJAPZbcGFuRaLXy0qf+jRc6HmOteZeLK+KJ8gnKcmTo98qqHP9/GYxTFWD618ztQI 5c0cbHi6j+KHYRknBD5m4bTX9zEPo1fm09+jV7QAXns9gIU+Z2uKNDTKZHtvOzayQze5 cAm6RtdK4v69Ce/N9Tmo/qf+X4Rmsgwi8eCpjbdS6zSF6CFkA5lomz0S4sKh2zBvrXqb 1L9C76eA0oY/kwLA8msDRZk94MtkCLHYYYckS9ZcZ9WmIX6i2k3cMGAHC9sZM5lzTNwJ GK2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uCygjPNj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n26si1419721ejr.532.2020.06.30.02.48.29; Tue, 30 Jun 2020 02:48:52 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=uCygjPNj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732120AbgF3JsW (ORCPT + 99 others); Tue, 30 Jun 2020 05:48:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731983AbgF3JsU (ORCPT ); Tue, 30 Jun 2020 05:48:20 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD035C061755; Tue, 30 Jun 2020 02:48:19 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id dr13so19871159ejc.3; Tue, 30 Jun 2020 02:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oNC78CqpkvHbTzJl7ozjMpsWiFnQpCxrCq3wYkDslBw=; b=uCygjPNjpm8T1BUAh9Qf/bkYop8p2+DVJTrhrpfftvPO7ZTdWDR+VJqmYiXIDcVDPI g1F3HRIhjHisjgQ5nNHAyH2FMmdFUeZn+R6JwVLmtyVyDVx0vt3PJ/aseb//pBN7dgaN OXQFcHDqPRtUtMcF/bipam8DQ2+oyU00VpYfQ2kRL5d9O1L99nuAio8o3Xcu7qo50EKi oLt0QX8BZeRjVJ+BZI26l7PjrVK6t4GapZmKbQ1/Ip4ITaleMJsp8ScQ07t90n3xNs4H CurmJSyHPnZ02iarnM4o/PKfLnjOj22xplaf+7Le9g+Dfb4ohhC0zAx2wcQlPdyhc8mf pTjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oNC78CqpkvHbTzJl7ozjMpsWiFnQpCxrCq3wYkDslBw=; b=YL1eORTWJnoipIcwJBJMCqqgdvmI97iP2KbF9wBJ8YTPpDPPc53cbGXLKibnFiPvIG K/4fxocL010MbsErfnd1G32BeclwOSHC+6snrKQEykXJ1AQcKYk/DtdXyzb89/KNp3TT tmb7C8oarTfPZfaWU9wMZR7P8R7c1wGKzWZqyHFGcs5T/OQaLE19d8r/cOFzvSV3aMAg Fz1VFTeQEHQ8yzoxafRitod1vjbC3dTdD0feYhW+tf0N5tmD2V1v3UhC/73QQWoT6jKs 6G2vRUwOIW3yJKY7ZAe4HrIHSVAErgSxaQr0yI1gdQm3YOielqmcDmJJ03Xi1rB5gAxG L75A== X-Gm-Message-State: AOAM533oMilkg33IfzFmg6yLmg9PM7ij2bnKUJinvS39JdPb8HrPRezx o77rva5JEQGyWIurPB1mfMREaEitlYCS1fIbrBM= X-Received: by 2002:a17:906:4145:: with SMTP id l5mr17255133ejk.334.1593510498539; Tue, 30 Jun 2020 02:48:18 -0700 (PDT) MIME-Version: 1.0 References: <1591697830-16311-1-git-send-email-amittomer25@gmail.com> <1591697830-16311-3-git-send-email-amittomer25@gmail.com> <20200624061529.GF2324254@vkoul-mobl> <20200629095207.GG2599@vkoul-mobl> In-Reply-To: <20200629095207.GG2599@vkoul-mobl> From: Amit Tomer Date: Tue, 30 Jun 2020 15:17:41 +0530 Message-ID: Subject: Re: [PATCH v4 02/10] dmaengine: Actions: Add support for S700 DMA engine To: Vinod Koul Cc: Andre Przywara , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , dan.j.williams@intel.com, cristian.ciocaltea@gmail.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel , linux-actions@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vinod, On Mon, Jun 29, 2020 at 3:22 PM Vinod Koul wrote: > If you use of_device_get_match_data() you will not fall into this :) But again, of_device_get_match_data() returns void *, and we need "uintptr_t" in order to type cast it properly (at-least without warning). Also, while looking around found the similar warning for other file where it uses " of_device_get_match_data()" drivers/pci/controller/pcie-iproc-platform.c:56:15: warning: cast to smaller integer type 'enum iproc_pcie_type' from 'const void *' [-Wvoid-pointer-to-enum-cast] pcie->type = (enum iproc_pcie_type) of_device_get_match_data(dev); Thanks -Amit