From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH] ethdev: claim device reset as async Date: Wed, 20 Mar 2019 08:32:04 -0700 Message-ID: <20190320083204.4f9f72b4@shemminger-XPS-13-9360> References: <20190320045403.14594-1-qi.z.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: thomas@monjalon.net, declan.doherty@intel.com, ferruh.yigit@intel.com, ktraynor@redhat.com, sthemmin@microsoft.com, dev@dpdk.org, benjamin.h.shelton@intel.com, narender.vangati@intel.com To: Qi Zhang Return-path: Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 799404F9A for ; Wed, 20 Mar 2019 16:32:09 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id p10so2195701pff.3 for ; Wed, 20 Mar 2019 08:32:09 -0700 (PDT) In-Reply-To: <20190320045403.14594-1-qi.z.zhang@intel.com> 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 Wed, 20 Mar 2019 12:54:03 +0800 Qi Zhang wrote: > + ret = rte_ctrl_thread_create(&tid, pthread_name, NULL, > + do_dev_reset, args); > + > + return ret; combine the ret = and return (ie make it a tail call)