From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BBEC3382DE; Thu, 9 Apr 2026 15:22:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775748162; cv=none; b=Tm5QJA9xLMYK26UVrx5aQd+/INEH3a9x5iAZ2+d9QBdpgGwBm2eBPxnmn0x0WrxBT0quHESlxXM9yMNW/wWD1J9zcVVeAxGU47bayC+s7ZjOHZEmmpMkCemhNc97zdjkFuTthfSqfrjo041qb54P8GA+wlR8Ed+mY929XJY5k/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775748162; c=relaxed/simple; bh=Qfd4LMweaa82Dua/kn5hPQzYB4CBR14BG52EZRVqRtk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pHykMka0TXiXoDsuJCCMF6c+ueHj2JCx4LwkGDblRpQc48LeV58msQnl6K0bofOwhtNTVukVAx/+6NWIeAbLoIlD8z8bR6T1UExUXB4RBUyfzToTQ8Lu3DV6cK5dSzrZrWjTqPO8PcViZeLWFQ9aQCuIBJRznOx+5s3W2/94Il4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W0iiozom; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="W0iiozom" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CDF0C4CEF7; Thu, 9 Apr 2026 15:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775748161; bh=Qfd4LMweaa82Dua/kn5hPQzYB4CBR14BG52EZRVqRtk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W0iiozomxy2gjMlONrx5TP91tl9rHaYfMP0zdCIsDF1KQ/P1F9HA3MSO/YEGMT3GC X4XtQJwicb/baXAhqV18VB8RSYtYOeE0lebVe4UBC41Hcz1mo8YnXQwCfmP3TLuOEp t5PuYtEhthK8LLttwzdEg0qgDorErCAQwyGyMGik= Date: Thu, 9 Apr 2026 17:22:39 +0200 From: Greg Kroah-Hartman To: Denny Lin Cc: Sudip Mukherjee , Teddy Wang , linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] staging: sm750fb: propagate error codes from de_wait() Message-ID: <2026040929-cartel-scariness-571c@gregkh> References: <20260409144119.21500-1-dennylin0707@gmail.com> <20260409144119.21500-3-dennylin0707@gmail.com> <2026040931-robust-siamese-4e11@gregkh> Precedence: bulk X-Mailing-List: linux-fbdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Apr 09, 2026 at 08:15:36AM -0700, Denny Lin wrote: > Hi Greg, > Odd email style, try replying inline in the real email, not at the top please :) > > Why did you delete the comment? > > The comment was removed as part of simplifying the code while > changing the error handling to propagate the return value from > de_wait(). I can restore or update it if needed. Please keep it. > > And when did de_wait() start returning correct values? > > de_wait() starts returning a proper errno value in patch 1 of this > series, where the timeout return value is changed from -1 to > -ETIMEDOUT. This patch then propagates that error value. Ah, that wasn't obvious, sorry. thanks, greg k-h