Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp624969pxb; Thu, 19 Nov 2020 09:36:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoEyW7d2gUlxUARPQ1ave/oSsCJNchdDsg+AwuNWYGmzUDUcefkP6JWNbjgovPTS/k6+Zi X-Received: by 2002:a17:906:e53:: with SMTP id q19mr30316841eji.254.1605807394181; Thu, 19 Nov 2020 09:36:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605807394; cv=none; d=google.com; s=arc-20160816; b=Fc7ECrAuFaQktVqaUqHQGzmS8HDw7UK60a81D1aGMEpdbN3uu2DBmkaa48DYu2EGNa 15t0bvq1qgWxfAX9et0KL9sVCUiC4xXV2h2VN7yporpGumpeY1uB3EoL3VNbvB93V2CP QbT+THQ4reHWYz7NPTZj3pcq1Bzu3YowoBB9mgqzU1HJjTehNlpTjfzcSxLYNA5bi44a 72WIEhRpO3WbQAzBS+2B36/ayGuqZII1DeFI9iOzg8GuBpx23xmuMqr1YBcpClhssXxY FqfP3dheC+L19/UgKijS3Pst1/39W6zyX810LntYrEl3fKkV8JsI8T0jMIXrBUcb1QdH ucZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=lTDVZu78sQRjzGc9f1m4SYFSbzIEF2W5wGuEGt9FlSM=; b=SA7kjbeWeapDgriQYOEXwF93rLAnK64Zp5OJ7o/e7mjOjQkf4yi9OUUQDhkfyDjFzj f1hJJu2TyWrWwT7mht8DRwbs2Lmhzr478xgMamrqsymR9sZUilCpUyml3YQZfdJyWhTw BqGYMgs11fIGp7PLBc7py/FiNNamW5Qnqqe2oVEA6tZip3NVIJu3da+eVAiZQmVVSZgE Xe9XF0c71ANrx2Kt0Xszu+mIemDM3+ioQ+nyw9WemNvBnq/nG8RD0jbu37FqOHadcDJa U7frFqUvL6ovvCW+w0Md3X2h3r1A60XP+OHflMdoRRzsmlve1Gf4ZqEMFqCitO569H0w o8jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xHfwpgtK; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d7si227470ejk.78.2020.11.19.09.36.10; Thu, 19 Nov 2020 09:36:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=xHfwpgtK; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728960AbgKSRdg (ORCPT + 99 others); Thu, 19 Nov 2020 12:33:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728672AbgKSRdg (ORCPT ); Thu, 19 Nov 2020 12:33:36 -0500 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE7CEC0613D4 for ; Thu, 19 Nov 2020 09:33:34 -0800 (PST) Received: by mail-pf1-x441.google.com with SMTP id 131so5141984pfb.9 for ; Thu, 19 Nov 2020 09:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=lTDVZu78sQRjzGc9f1m4SYFSbzIEF2W5wGuEGt9FlSM=; b=xHfwpgtKrk1Df4SjR7jUsrMdAFTDc7OgvNY6trictLf5Ln9RuV/h6HV5ooqXOHH9cT T7onq3l77JCiY18+f4dkMsWgy4IG1b3EDG2yVcHRXLjvGmigo6ve2YPgdrcksU/q0AQq URYaTadUQbkdGx+XtnT5fiE6KfwSlLclOmf/hvD3RCT4kQuy0YXFPv0qOP4tD0Agzs1U 0l3Q5e1TMiKsNNt4ruCn72x/UPhf1G7Bbr06wOaYjJRUrhAVNiQ7p6/ShQzzmZZq7nIK pqGtMYbtUL/h5ArThLru1U9kFYsw/V6d/ETFNOz2ihLWoueSSYPsGMN3OjuzJwJrYcAq HJNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=lTDVZu78sQRjzGc9f1m4SYFSbzIEF2W5wGuEGt9FlSM=; b=cxAzlxg+33tGrzT5NcWU0EofO6ZA0ZpVpDjDGQwbDAM98xqXzwGagVQ2uyekw0PELW 0HL3UqZ3XcUSA9riq33/El5+/yHXs+Og/+B+VsrA+2huBsE0y4q/j9HGJdhOLZI+iVOo 0omedKQcrWajZPP8EzKfU9fPfTfpCxQIe8VTS82Xoeww7ABs6PyF5c2HUz30z3BZT6Z0 bCrbDEukAUiZYK+ptEHHq3NCNWG5l7pmiPBQawit5Y5KVIIl5x54XPRQuhG4wQfhakXe 47AX3XPXDi2M17XLgga/EP8KuQ3SklCtmMPHU/5Nj4agbD2o5ewH9J9ofYnuCWo95bhc TWZw== X-Gm-Message-State: AOAM531sD6ZKnRqGqSJM8qHzaMzwo5A/luUuXFBvulAkNjZHAiLmhoMG 8tLIaXCuHSnL4lENFBrndNUcow== X-Received: by 2002:a17:90b:3789:: with SMTP id mz9mr5612540pjb.123.1605807214335; Thu, 19 Nov 2020 09:33:34 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id a123sm400557pfd.218.2020.11.19.09.33.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 09:33:33 -0800 (PST) Date: Thu, 19 Nov 2020 10:33:32 -0700 From: Mathieu Poirier To: Guennadi Liakhovetski Cc: Arnaud POULIQUEN , "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: <20201119173332.GA94178@xps15> References: <20201118213700.74106-1-mathieu.poirier@linaro.org> <20201118213700.74106-9-mathieu.poirier@linaro.org> <447fdbd6-2e3d-2786-c444-25148efcb9f8@st.com> <20201119171051.GA6464@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119171051.GA6464@ubuntu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 06:10:51PM +0100, Guennadi Liakhovetski wrote: > 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! > Apologies for the brain bug - the code got lost in the thread... > 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