lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbn=em2tTrAhYPhRyggjEK+O4QYMg4PrnHRibBhsAp=OQ@mail.gmail.com>
Date: Mon, 28 Oct 2024 15:31:33 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org, Tony Lindgren <tony@...mide.com>, 
	Uwe Kleine-König <u.kleine-koenig@...libre.com>, 
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: omap-keypad - use guard notation when acquiring mutex

On Fri, Oct 25, 2024 at 3:47 AM Dmitry Torokhov
<dmitry.torokhov@...il.com> wrote:

> Using guard notation makes the code more compact and error handling
> more robust by ensuring that mutexes are released in all code paths
> when control leaves critical section.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>

Reviewed-by: Linus Walleij <linus.walleij@...aro.org>

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ