Re: [PATCH 19/21] builtin/config: track "fixed value" option via flags only
On Sat, May 11, 2024 at 8:11 AM Patrick Steinhardt <ps@pks.im> wrote:
Show 7 quoted lines
> We track the "fixed value" option via two separate bits: once via the
> global variable `fixed_value`, and once via the CONFIG_FLAGS_FIXED_VALUE
> bit in `flags`. This is confusing and may easily lead to issues when one
> is not aware that this is tracked via two separate mechanisms.
>
> Refactor the code to use the flag exclusively. We already pass it to all
> the require callsites anyway, except for `collect_config()`.
> Signed-off-by: Patrick Steinhardt <ps@pks.im>