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 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 28A48D35677 for ; Wed, 28 Jan 2026 05:48:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8BEA510E18B; Wed, 28 Jan 2026 05:48:39 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="XF/doAP2"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9486E10E18B for ; Wed, 28 Jan 2026 05:48:37 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 7CEE7405F5; Wed, 28 Jan 2026 05:48:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D34D8C116C6; Wed, 28 Jan 2026 05:48:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769579317; bh=uUU1GFk6W9A2OhC/0i9QZZ4frb720ycWNzcpj8viw1c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XF/doAP2FUIHDmBvQznqagpDoIj6aOJq6sC881I/0ERPwAmVrz3nOglVNpUzyfPz3 HIf0gjszE7GZ8D/aZbv8GHN9c3p0XIugnwLf+mSLmTzIwm9qZcOt22fkDNNJaTKlPS DFP4FiTTAFvzAwGYWh0pU0/+DWd8gm4iDv2RmSkI= Date: Wed, 28 Jan 2026 06:48:33 +0100 From: Greg KH To: Xingjing Deng Cc: srini@kernel.org, amahesh@qti.qualcomm.com, arnd@arndb.de, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Xingjing Deng , stable@vger.kernel.org Subject: Re: [PATCH v6] misc: fastrpc: check qcom_scm_assign_mem() return in rpmsg_probe Message-ID: <2026012851-precut-apostle-1d38@gregkh> References: <20260128033454.2614886-1-xjdeng@buaa.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260128033454.2614886-1-xjdeng@buaa.edu.cn> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, Jan 28, 2026 at 11:34:54AM +0800, Xingjing Deng wrote: > In the SDSP probe path, qcom_scm_assign_mem() is used to assign the > reserved memory to the configured VMIDs, but its return value was not checked. > > Fail the probe if the SCM call fails to avoid continuing with an > unexpected/incorrect memory permission configuration. > > This issue was detected by a private static analysis tool. As per our documentation, you need to say a bit more than this about your tool. Please read Documentation/process/researcher-guidelines.rst for the details. thanks, greg k-h