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=-15.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 B0220C433E2 for ; Tue, 15 Sep 2020 05:00:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76D18206DC for ; Tue, 15 Sep 2020 05:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600146010; bh=ds+G6rNf9ikqV7cYKQYbTfeiEkVs46OoSjx29fs01gE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:List-ID:From; b=feGA+Uqs9nM/8HAf42G8h0m1fWwoMK+9BqSNKqutD4n6HDKzHrbb8AXjoPT4Z479r PVfmX3JMOmKvMy42Yo3pINkJYMpm76GiL3LibrJDVxJ/+IB/xmPG6Qjz1V6N+h4AIT bd3EO7Re/VpbIjdjNVOy48h8F1BU24fwYKF3j7J0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726057AbgIOFAJ (ORCPT ); Tue, 15 Sep 2020 01:00:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:51068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgIOFAH (ORCPT ); Tue, 15 Sep 2020 01:00:07 -0400 Content-Type: text/plain; charset="utf-8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600146007; bh=ds+G6rNf9ikqV7cYKQYbTfeiEkVs46OoSjx29fs01gE=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=bvvWebOUdFkMPGGCrm1i3xcF0zKvi2V/q+8iip+yzduCIfXiflKndJg5mDgMECtfq Zp4WccDTSJFQQYNgTpmuxe0VkabwsXmR5CB+5yiR5CyKuJm2QetUrLmNhahIwxbxVB Se1C/8G+5V7HsOpt+T8ea9ANTRrmdfp0Mq0zs+i8= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v3] rpmsg: Avoid double-free in mtk_rpmsg_register_device From: patchwork-bot+linux-remoteproc@kernel.org Message-Id: <160014600753.14763.10108949218439016935.git-patchwork-notify@kernel.org> Date: Tue, 15 Sep 2020 05:00:07 +0000 References: <20200903080547.v3.1.I56cf27cd59f4013bd074dc622c8b8248b034a4cc@changeid> In-Reply-To: <20200903080547.v3.1.I56cf27cd59f4013bd074dc622c8b8248b034a4cc@changeid> To: Nicolas Boichat Cc: linux-remoteproc@vger.kernel.org Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org Hello: This patch was applied to andersson/remoteproc.git (refs/heads/for-next). On Thu, 3 Sep 2020 08:05:58 +0800 you wrote: > If rpmsg_register_device fails, it will call > mtk_rpmsg_release_device which already frees mdev. > > Fixes: 7017996951fd ("rpmsg: add rpmsg support for mt8183 SCP.") > Signed-off-by: Nicolas Boichat > Reviewed-by: Mathieu Poirier > > [...] Here is a summary with links: - [v3] rpmsg: Avoid double-free in mtk_rpmsg_register_device https://git.kernel.org/andersson/remoteproc/c/231331b2dbd71487159a0400d9ffd967eb0d0e08 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.kernel.org/userdoc/pwbot