[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zv67hbO1gDqgwxNK@google.com>
Date: Thu, 3 Oct 2024 08:43:01 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: linux-input@...r.kernel.org
Cc: jingle.wu@....com.tw, josh.chen@....com.tw,
Phoenix Huang <phoenix@....com.tw>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: elan_i2c - switch to using cleanup functions
On Sat, Aug 24, 2024 at 10:28:43PM -0700, Dmitry Torokhov wrote:
> Start using __free() and guard() primitives to simplify the code
> and error handling. 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 and all allocated
> memory is freed.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Applied since there were no objections.
Thanks.
--
Dmitry
Powered by blists - more mailing lists