Re: [PATCH v2 09/17] cbtree: allow using arbitrary wrapper structures for nodes
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Apr 9, 2026, 11:36 UTC
- Message-ID
- <CAOLa=ZREniG1jkqk4SW6W1s6hLHh42fLQK+8tox59jprn2hPPg@mail.gmail.com>
- In-Reply-To
- <20260409-b4-pks-odb-source-inmemory-v2-9-f02b4f1c0f13@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
[snip]
Show 11 quoted lines
> diff --git a/cbtree.h b/cbtree.h
> index c374b1b3db..3ce0d6b287 100644
> --- a/cbtree.h
> +++ b/cbtree.h
> @@ -23,18 +23,19 @@ struct cb_node {
> */
> uint32_t byte;
> uint8_t otherbits;
> - uint8_t k[FLEX_ARRAY]; /* arbitrary data, unaligned */
> };
>Seems like we need to update the comments at the top of the header file which still talks about this field.
[snip]