[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m6mttlalfyekhmfmwtw7gk2j5hw7y27xowxjyn5cicdslkw4dh@4jmjzkr5cytd>
Date: Tue, 27 Aug 2024 11:08:07 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org,
Michael Hennerich <michael.hennerich@...log.com>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Fabio Estevam <festevam@...il.com>,
Laxman Dewangan <ldewangan@...dia.com>, Hans de Goede <hdegoede@...hat.com>,
Tony Lindgren <tony@...mide.com>, Jeff LaBundy <jeff@...undy.com>, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-tegra@...r.kernel.org
Subject: Re: [PATCH 17/17] Input: tegra-kbc - use guard notation when
acquiring mutex and spinlock
On Sat, Aug 24, 2024 at 10:16:21PM GMT, Dmitry Torokhov wrote:
> This makes the code more compact and error handling more robust
> by ensuring that locks are released in all code paths when control
> leaves critical section.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
> ---
> drivers/input/keyboard/tegra-kbc.c | 45 +++++++++++++-----------------
> 1 file changed, 19 insertions(+), 26 deletions(-)
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists