Re: [PATCH] object-file: use `container_of()` to convert from base types
Justin Tobler <jltobler@gmail.com> writes:
Show 16 quoted lines
> 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