Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1034113ybl; Wed, 28 Aug 2019 08:42:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwSRYnr3Xw9R84D8RdMRuMXphuh+LQb8MJAj2IzHaKtidTIzn+352BCtzWRSQnrNqA/tPl X-Received: by 2002:a17:902:d24:: with SMTP id 33mr4999986plu.133.1567006964122; Wed, 28 Aug 2019 08:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567006964; cv=none; d=google.com; s=arc-20160816; b=LIC4Z7schrDEuZbnKrFCcuac1phQSg1VcqlAMAup6UHHEz2JftxhoIpSR2mRIOkmXC 9lVJuFT6OTD3mgfy1JGpG37UQ7EuVuzDpAWOHYwTpQGDSIhJ3QYBIqFrPNTpp9mVg41/ 0HMpmRzgMkZ4tiPieqZbn2yPLrmrJjQOYR+6a9SRsnJzWqN9LIXSTwjuyI+VAD9H3/j/ +HDRhYLeCyt1+LUEVZVAFXzLa4IuYJJmIJv9ZmIDGE6mk2c8v6KQfa/Baz/YOY4rprii AOl4ekKqGM/rBfVYPzX9FE1KOtzqwvLyfHOB8sYh2/sI/HEBkyi263ynBeA+Zojt0BVL df3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:from:to :subject:cc:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=TIiTAGG/qnJ/yRrZ5XnoY3ZPCGKTm7iqJL7Xyp+86BY=; b=RUJxq6Us+mdsQ9P/v9S9WEtUS3Lp6xs1g1b38EkPOVHPaMAJa8NR/6NrFF5WSrMF+w CYOfryVg6AQaayX3uvRnSqlb+MQ2TAYTsIYChKg8lUbhDwP7hvE1zkZO2VaCHvWrZTgT oLOgG6DUy5feT7b8qP0eLDPFmwfc6/RcLT6PQ/E53VUiVRY6G4bS0/Hb8Bff8Ks9utBu tq5Vj4XYyQh4LY+RMsU8uGL8x7S6Bo+vZgIZBVus2bgKgH+gptU6e6b+HtosvE15bBGM cJSedJnx7PNZNuff2QQ2OmNywrU81uq0sp3oS1VS6jobmbfGyRkukxt6GkrvX45/32x5 MdOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1t7js5wK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v63si2400036pgd.111.2019.08.28.08.42.26; Wed, 28 Aug 2019 08:42:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1t7js5wK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726606AbfH1PlY (ORCPT + 99 others); Wed, 28 Aug 2019 11:41:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:35806 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726504AbfH1PlY (ORCPT ); Wed, 28 Aug 2019 11:41:24 -0400 Received: from kernel.org (unknown [104.132.0.74]) (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 56798208CB; Wed, 28 Aug 2019 15:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567006883; bh=TIiTAGG/qnJ/yRrZ5XnoY3ZPCGKTm7iqJL7Xyp+86BY=; h=In-Reply-To:References:Cc:Subject:To:From:Date:From; b=1t7js5wKA7Z6d6X7J0VvRt7W23lN4Cws4Ri6f1nmPWmEdf9F/QuqjmPth/MP3yOSa FwLnma9hyT1qmgQ6xVRz6/quEMDKVtnVc79rY8cVcSmTzsngVwJ6lmWqxYsgkYYz21 fIuiRCsxUtvdlEUdsJ4ZeE3L51OWuCf6unK0Y2ZA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190823100622.3892-3-srinivas.kandagatla@linaro.org> References: <20190823100622.3892-1-srinivas.kandagatla@linaro.org> <20190823100622.3892-3-srinivas.kandagatla@linaro.org> Cc: arnd@arndb.de, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Mayank Chopra , Abhinav Asati , Vamsi Singamsetty , Srinivas Kandagatla Subject: Re: [PATCH 2/5] misc: fastrpc: Don't reference rpmsg_device after remove To: Srinivas Kandagatla , gregkh@linuxfoundation.org From: Stephen Boyd User-Agent: alot/0.8.1 Date: Wed, 28 Aug 2019 08:41:22 -0700 Message-Id: <20190828154123.56798208CB@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Srinivas Kandagatla (2019-08-23 03:06:19) > From: Bjorn Andersson >=20 > As fastrpc_rpmsg_remove() returns the rpdev of the channel context is no > longer a valid object, so ensure to update the channel context to no > longer reference the old object and guard in the invoke code path > against dereferencing it. >=20 > TEST=3Dstop and start remote proc1 using sysfs Remove this line? Looks like a chromiumism.