[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ae1a88d8-2c7d-4d1a-9ade-ec8c6b4b13eb@web.de>
Date: Mon, 4 Mar 2024 13:31:32 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: Dan Carpenter <dan.carpenter@...aro.org>,
Dmitry Torokhov <dmitry.torokhov@...il.com>, Jeff LaBundy
<jeff@...undy.com>, linux-input@...r.kernel.org,
kernel-janitors@...r.kernel.org
Cc: Rob Herring <robh@...nel.org>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: Input: iqs626a - Use common error handling code in
iqs626_parse_events()
> DEFINE_FREE(fwnode_handle, struct fwnode_handle *, fwnode_handle_put(_T))
>
> I can send a patch for this. You need to be a bit carefull to move
> the declaration into the correct scope for this to work. I should write
> some Smatch rules for this...
I became also curious how available development tools will evolve further
for improved handling of scope-based resource management.
Regards,
Markus
Powered by blists - more mailing lists