From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796198486; b=Q3GaC5XYqCCV+gjdYkNkaD22SqPKIco5uySDFtSGma6pACTlUhoGMaMav6GcS2weDGnD ciuegv/4zVqWw+fnTy2FnqlvqnGyxnWLwrPg2MfMc1Uf6HAZkoEEIBHVFVlwje9Tz31OR Qe/WwNG6duagOTvcJ2sUKXQvmAshVunytJERIk5qQbC33gNtnZZ25qH55WLRNdjJoW/kN tvInbY2+RG2CIaBTE7d0INS1Vf17cnmX0qTBOigZQp8oaVgSdX3IRtN7/pwJQEA9lospZ BzFhYa9QarRNBgUBU4bjMZr8DHyQ3n6E4myQSBJl7HhpgnKcdVJJZAQDaQ2Jt01pcvQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796198486; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=B1st3vQywoOTIJXzuqu7QS4aeLDcoJzHisveyGp+O7w=; b=cWhy43WkdRAC28+l883c/8Si50NoG0lQgfoajPOiFAxer/YKV4HR5iwlm8g1aeZWIMCm 38UGrd5LplQPB80IRfs+82WDxsCkFOC8JctrfBnylZ8o8PtGook9JhLnYeI6+O6a2J9xs KQ38LHhWKz53zjxuO3KXV1Mm16fI9QEHEThh/Rgt7MgXvs1/d+fXAQmLfJeGTL/oKfZ3c dDsQ8izNLZ35fid6bZfLEExSjezwJVHLyifn4tZJBvZrH/YfmQaoyItu8CnGPjwigqtUh KMe9MIzbCGH7U6fHpurEwRpKkmcmxaIt46XKcTGqtuJtjrkizAGAALkl3GfrHzmg8oQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=d6sjstPf; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40A1E606A31A; Wed, 2 Dec 2026 08:01:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=d6sjstPf Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C2A11F00893; Wed, 2 Dec 2026 08:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796198485; bh=B1st3vQywoOTIJXzuqu7QS4aeLDcoJzHisveyGp+O7w=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=d6sjstPfdausE7ccYm8yzTCP6BhsKdrWsaLwILdvdXTmzuDIJ7E3yh1H/EGabVt0l usZ/Vhif+KE9idp8Uz0Wn3Wak/7P2C0zwu6E+wz9q4QE9PADQY69pvN8/dHSdtAUzz kQ8VKMcylezy2s+DAYQSabwnEL+I6zzr8YwVlxkk= Date: Wed, 2 Dec 2026 09:01:23 +0100 From: Greg KH To: Haoxiang Li Cc: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH] staging: sm750fb: Unmap PCI resources on framebuffer probe failure Message-ID: <2026120257-length-country-16e6@gregkh> References: <20261202033712.3970503-1-haoxiang_li2024@163.com> <2026120206-chamomile-hardcover-db75@gregkh> X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Dec 02, 2026 at 03:58:07PM +0800, Haoxiang Li wrote: > > Hi, > > At 2026-12-02 15:39:28, "Greg KH" wrote: > > > > >How was this found and tested? > > > > I found this with a static checker I wrote. I then used a userspace harness > to confirm that the probe leaves these resources allocated when allocation > returns an error. The patch is compiled but not tested on real hardware > because I don't have an SM750 device. Please read: https://lore.kernel.org/r/2026080354-skater-urgent-31b2@gregkh