Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp610979pxb; Thu, 19 Nov 2020 09:16:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJx33N5zqK6OFA7B/OdaL47ajQhedoYzdeopPgGCPwrM3/YhUa9jMwDhcOLwtoFY2XprFKsP X-Received: by 2002:a17:906:82d7:: with SMTP id a23mr28479290ejy.505.1605806182541; Thu, 19 Nov 2020 09:16:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605806182; cv=none; d=google.com; s=arc-20160816; b=YhTcRZialZm1ywTzIEvgS6zXOlCGt386lvMT08jYwIf/A+jhsDZ+gdCooy8RaVPAKa 8NPT8CImpqXJ9q5KY0hT2K/FJElY4OOhl5f3QO4VbPHiPFEEJr1gKnaYvCdzoiTEdR/t 7nb2IFWi8oUm/3lU9YHNx1yVYIYTtsf0AY2NC1x+kPaj3HSMYX7KjHK/pr3VCqkxHmBp n+TdH6A2RdXRh4LqwnIY+BWe6W0dg4mMHS49wG13UJsPbeCGRFleTQQ0NkU/HnQ+14Oa IKwJmHBkkiD2p4gsP9FGNkpVu7qLHWG9sDzUV5S4rRFUMusFoBZQZyVUE+M8/cDLSRtx mHHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=aVsuDZEtt/UQSc5nWcSSTloL++fXaeurhF5cd8HAH0M=; b=dJLn4eEp8PfmLUn7COBMe9EoN0+WPwO2tjcnaLQxYoOifrsNscIgXFowm4fcdyCRYO 32rUHvgt+0+UANfknrJswjOKolKX5ERpr+snSCzDsD40oZ1GTKRrWD7IvOrzbUmv3vb6 MmsQX/dojVpmek2QKonnYUkYsluc+SBkboSj+8ekaUTExXxWIPYBtJxQjC88gZL3Uwmm nGQ6kcOSKjPJGoU22NWUSxp8Xd+JpIQ+WWRZaUy9hJUeS7nDmRzgiRrwv9oRFFrBH45v zXumWuIxYtt7zKAJee35bWDpx7R+796JjNcxwMw8h/PfEWnIxn4TlieK/u6YJL6wVTGQ AG5A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc20si135759ejb.747.2020.11.19.09.15.57; Thu, 19 Nov 2020 09:16:22 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729279AbgKSRLH (ORCPT + 99 others); Thu, 19 Nov 2020 12:11:07 -0500 Received: from mga07.intel.com ([134.134.136.100]:15573 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728511AbgKSRLG (ORCPT ); Thu, 19 Nov 2020 12:11:06 -0500 IronPort-SDR: 16gkPpprIQTxa5ynhEfVQWC4Gfw7i2jIDSutdaMM8o4gxJ33t6tzAS7XGnBZvgqxBNPHXvZv3P qaXVPgsZ70lQ== X-IronPort-AV: E=McAfee;i="6000,8403,9810"; a="235474206" X-IronPort-AV: E=Sophos;i="5.78,353,1599548400"; d="scan'208";a="235474206" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 09:11:06 -0800 IronPort-SDR: iSchIvvKK82twu/wnA3A21/yAi2w577jmVsHprnWNLy6hJ4eNVp5eYk1uU+7yZKI60QgoIkXKC rzjHENa9MwHg== X-IronPort-AV: E=Sophos;i="5.78,353,1599548400"; d="scan'208";a="476889840" Received: from gliakhov-mobl2.ger.corp.intel.com (HELO ubuntu) ([10.252.39.59]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 09:11:04 -0800 Date: Thu, 19 Nov 2020 18:10:51 +0100 From: Guennadi Liakhovetski To: Arnaud POULIQUEN Cc: Mathieu Poirier , "ohad@wizery.com" , "bjorn.andersson@linaro.org" , "linux-remoteproc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v6 8/8] rpmsg: Turn name service into a stand alone driver Message-ID: <20201119171051.GA6464@ubuntu> References: <20201118213700.74106-1-mathieu.poirier@linaro.org> <20201118213700.74106-9-mathieu.poirier@linaro.org> <447fdbd6-2e3d-2786-c444-25148efcb9f8@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <447fdbd6-2e3d-2786-c444-25148efcb9f8@st.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mathieu, I haven't tested it yet, but I've compared it to the previous version and all the changed except the one, mentioned by Arnaud, seem to be there! So, let's just fix this one and should be good to go! Thanks Guennadi On Thu, Nov 19, 2020 at 03:52:50PM +0100, Arnaud POULIQUEN wrote: [snip] > As Guennadi mentionned in a previous mail > a kfree(vch) is missing on error > > @@ -949,10 +949,11 @@ static int rpmsg_probe(struct virtio_device *vdev) > dev_info(&vdev->dev, "rpmsg host is online\n"); > > return 0; > > free_coherent: > + kfree(vch); > dma_free_coherent(vdev->dev.parent, total_buf_space, > bufs_va, vrp->bufs_dma); > vqs_del: > > Otherwise i tested this series successfully. > > Thanks, > Arnaud