Re: [PATCH v2 2/7][next] printk: ringbuffer: change representation of reusable

From: Petr Mladek
Date: Tue Aug 25 2020 - 13:10:53 EST


On Mon 2020-08-24 12:41:33, John Ogness wrote:
> The reusable queried state is represented by the combined flags:
>
> DESC_COMMIT_MASK | DESC_REUSE_MASK
>
> There is no reason for the DESC_COMMIT_MASK to be part of that
> representation. In particular, this will add confusion when more
> state flags are available.
>
> Change the representation of the reusable queried state to just
> the DESC_REUSE_MASK flag.
>
> Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr