From: Bastien Nocera <hadess@hadess.net>
To: linux-bluetooth@vger.kernel.org
Subject: Re: [BlueZ v2 0/5] Add helper for "cleanup" variable attribute
Date: Thu, 07 May 2026 16:42:04 +0200 [thread overview]
Message-ID: <1bb345cc415a9718f7b51ec708dbd71af7eb2200.camel@hadess.net> (raw)
In-Reply-To: <20260506143220.3076135-1-hadess@hadess.net>
Hey,
I've made some changes to this patchset locally to make it easier to
use, I'll send a v3 next week.
(the MIN/MAX changes are still fine to push right now)
Regards
On Wed, 2026-05-06 at 16:30 +0200, Bastien Nocera wrote:
> As discussed in:
> https://lore.kernel.org/linux-bluetooth/ed949f2550f79a4bef19bd482bf8b069ad5b7e0c.camel@hadess.net/
>
> Implement a cleanup helper.
>
> The MIN/MAX fix is here because it touches the same hunk in
> src/main.c
> as the other patches. Feel free to pick it up straight away while the
> rest is discussed.
>
> Changes since v1:
> - Fixed checkpatch warnings
>
> Bastien Nocera (5):
> all: Remove more unneeded MIN/MAX macro definition
> shared/util: Add helper for "cleanup" variable attribute
> doc: Recommend using _cleanup_ and friends
> main: Use _cleanup_() to simplify configuration parsing
> main: Use _cleanup_() to simplify GError-handling
>
> doc/maintainer-guidelines.rst | 3 +
> lib/bluetooth/hci.c | 4 --
> src/main.c | 102 +++++++++++---------------------
> --
> src/shared/gatt-server.c | 8 ---
> src/shared/util.h | 8 +++
> 5 files changed, 43 insertions(+), 82 deletions(-)
prev parent reply other threads:[~2026-05-07 14:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-06 14:30 [BlueZ v2 0/5] Add helper for "cleanup" variable attribute Bastien Nocera
2026-05-06 14:30 ` [BlueZ v2 1/5] all: Remove more unneeded MIN/MAX macro definition Bastien Nocera
2026-05-06 21:28 ` Add helper for "cleanup" variable attribute bluez.test.bot
2026-05-06 14:30 ` [BlueZ v2 2/5] shared/util: " Bastien Nocera
2026-05-06 14:30 ` [BlueZ v2 3/5] doc: Recommend using _cleanup_ and friends Bastien Nocera
2026-05-06 14:30 ` [BlueZ v2 4/5] main: Use _cleanup_() to simplify configuration parsing Bastien Nocera
2026-05-06 14:30 ` [BlueZ v2 5/5] main: Use _cleanup_() to simplify GError-handling Bastien Nocera
2026-05-07 14:42 ` Bastien Nocera [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1bb345cc415a9718f7b51ec708dbd71af7eb2200.camel@hadess.net \
--to=hadess@hadess.net \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox