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 E0532D3569F for ; Thu, 29 Jan 2026 04:38:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4802B8914B; Thu, 29 Jan 2026 04:38:07 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="kp7r4jH0"; 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 9C0B38914B for ; Thu, 29 Jan 2026 04:38:06 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id CA4494352C; Thu, 29 Jan 2026 04:38:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C8D8C116D0; Thu, 29 Jan 2026 04:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769661485; bh=CiScCEL9euuEpGOeeAwg/0fqDkxe93uyrdAFznE9Rm0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kp7r4jH06sLzIwyC+03sdtahoiz/d5jSzPQCa1IKysFCOqfN6DvAt3q/beJ8/5LXt 8jhOrmcx+6nXOtBP2h74rUvSCae85+1cLVjOLR9er500Z9tz6IrSFMC1ItG8mjboaX IBpZfV+bd6ZzVCpert3y+q5P+H3umdnBV8yENbrc= Date: Thu, 29 Jan 2026 05:38:01 +0100 From: Greg KH To: Paul =?iso-8859-1?Q?Retourn=E9?= Cc: andy@kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: fbtft: use guard() to simplify code Message-ID: <2026012929-disprove-certified-4057@gregkh> References: <20260128212644.1170970-1-paul.retourne@orange.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260128212644.1170970-1-paul.retourne@orange.fr> 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 10:26:42PM +0100, Paul Retourné wrote: > Use guard() to simplify mutex locking. No functional change. It's best to use guard() for new code, not touching existing code as: > 3 files changed, 8 insertions(+), 8 deletions(-) This made no change overall at all :( thanks, greg k-h