From: Toon Claes <toon@iotcl.com>
To: Justin Tobler <jltobler@gmail.com>, git@vger.kernel.org
Cc: Justin Tobler <jltobler@gmail.com>
Subject: Re: [PATCH] object-file: use `container_of()` to convert from base types
Date: Fri, 20 Feb 2026 17:07:50 +0100 [thread overview]
Message-ID: <87zf53e6uh.fsf@iotcl.com> (raw)
In-Reply-To: <20260218210120.1146078-1-jltobler@gmail.com>
Justin Tobler <jltobler@gmail.com> writes:
> To improve code hygiene, replace direct casts from `struct
> odb_transaction` and `struct odb_read_stream` to their concrete
> implementations with `container_of()`.
>
> Signed-off-by: Justin Tobler <jltobler@gmail.com>
> ---
>
> Greeting,
>
> This patch is a small cleanup following discussion in [1].
>
> Thanks,
> -Justin
>
> [1]: <87o6m5rff8.fsf@iotcl.com>
>
Thanks for following up on this.
--
Cheers,
Toon
next prev parent reply other threads:[~2026-02-20 16:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-18 21:01 [PATCH] object-file: use `container_of()` to convert from base types Justin Tobler
2026-02-19 13:43 ` Patrick Steinhardt
2026-02-20 16:07 ` Toon Claes [this message]
2026-02-22 7:07 ` Junio C Hamano
2026-02-22 9:41 ` Jeff King
2026-02-22 17:19 ` Justin Tobler
2026-02-22 20:36 ` Junio C Hamano
2026-02-22 20:16 ` [PATCH] object-file.c: avoid container_of() of a NULL container Junio C Hamano
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=87zf53e6uh.fsf@iotcl.com \
--to=toon@iotcl.com \
--cc=git@vger.kernel.org \
--cc=jltobler@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.