From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0EE5EA0C47; Thu, 26 Aug 2021 20:39:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF09341225; Thu, 26 Aug 2021 20:39:24 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 291B640140 for ; Thu, 26 Aug 2021 20:39:22 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10088"; a="198054057" X-IronPort-AV: E=Sophos;i="5.84,354,1620716400"; d="scan'208";a="198054057" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2021 11:39:22 -0700 X-IronPort-AV: E=Sophos;i="5.84,354,1620716400"; d="scan'208";a="685032285" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.14.33]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 26 Aug 2021 11:39:17 -0700 Date: Thu, 26 Aug 2021 19:39:13 +0100 From: Bruce Richardson To: Chengwen Feng Cc: thomas@monjalon.net, ferruh.yigit@intel.com, jerinj@marvell.com, jerinjacobk@gmail.com, andrew.rybchenko@oktetlabs.ru, dev@dpdk.org, mb@smartsharesystems.com, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, maxime.coquelin@redhat.com, honnappa.nagarahalli@arm.com, david.marchand@redhat.com, sburla@marvell.com, pkapoor@marvell.com, konstantin.ananyev@intel.com Message-ID: References: <1625231891-2963-1-git-send-email-fengchengwen@huawei.com> <1629689494-55091-1-git-send-email-fengchengwen@huawei.com> <1629689494-55091-7-git-send-email-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1629689494-55091-7-git-send-email-fengchengwen@huawei.com> Subject: Re: [dpdk-dev] [PATCH v16 6/9] dma/skeleton: introduce skeleton dmadev driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Aug 23, 2021 at 11:31:31AM +0800, Chengwen Feng wrote: > Skeleton dmadevice driver, on the lines of rawdev skeleton, is for > showcasing of the dmadev library. This driver implements cpucopy 'DMA', > so that a test module can be developed. > > Design of skeleton involves a virtual device which is plugged into VDEV > bus on initialization. > > Also, enable compilation of dmadev skeleton drivers. > > Signed-off-by: Chengwen Feng > --- FYI: When running some compilation testing on my test-case patches [1], I had build errors flagged in this driver, when building for 32-bit. ../../drivers/dma/skeleton/skeleton_dmadev.c: In function ‘skeldma_copy’: ../../drivers/dma/skeleton/skeleton_dmadev.c:349:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 349 | desc->src = (void *)src; | ^ ../../drivers/dma/skeleton/skeleton_dmadev.c:350:14: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 350 | desc->dst = (void *)dst; | ^ cc1: all warnings being treated as errors Regards, /Bruce [1] http://patches.dpdk.org/project/dpdk/list/?series=18477