From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9EDDC43143 for ; Tue, 2 Oct 2018 14:42:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 774442083F for ; Tue, 2 Oct 2018 14:42:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="V9qfNxw2" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 774442083F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728509AbeJBVZv (ORCPT ); Tue, 2 Oct 2018 17:25:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:52214 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727562AbeJBVZv (ORCPT ); Tue, 2 Oct 2018 17:25:51 -0400 Received: from localhost (unknown [171.76.113.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E8242082A; Tue, 2 Oct 2018 14:42:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538491327; bh=HV6Q4zNGszYDhrUuQJnjO1c0RSsOT1HQWSuuB35Y4L8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V9qfNxw2pcx9cB2jwVNcETkkKAzfEZWDku9q8o9mq/WzwIxiNlHJAqp/v0lXGpppG oVWZCfx3FhFbGUPT0FBBUErtEYZO7JGy+wiMTVWY2znFW+H4M6iNn3WazdwSip1s1E 5oXFYQxm2Okb3Fo/3dlGbqh0LJ7SOzdKm3+RpMr0= Date: Tue, 2 Oct 2018 20:12:03 +0530 From: Vinod To: Nathan Chancellor Cc: Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers Subject: Re: [PATCH] dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction Message-ID: <20181002144203.GC19792@vkoul-mobl> References: <20180911234020.9064-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180911234020.9064-1-natechancellor@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-09-18, 16:40, Nathan Chancellor wrote: > Clang warns when implicitly converting from one enumerated type to > another. Avoid this by using the equivalent value from the expected > type. > > In file included from drivers/dma/ep93xx_dma.c:30: > ./include/linux/platform_data/dma-ep93xx.h:88:10: warning: implicit > conversion from enumeration type 'enum dma_data_direction' to different > enumeration type 'enum dma_transfer_direction' [-Wenum-conversion] > return DMA_NONE; > ~~~~~~ ^~~~~~~~ > 1 warning generated. Applied, thanks -- ~Vinod