On Mon, Oct 14, 2024 at 3:22 PM Marc-André Lureau
<marcandre.lur...@gmail.com> wrote:

[cut]

>>
>> +bool mux_chr_detach_frontend(MuxChardev *d, unsigned int tag)
>> +{
>> +    unsigned int bit;
>> +
>> +    bit = find_next_bit(&d->mux_bitset, MAX_MUX, tag);
>> +    if (bit >= MAX_MUX) {
>
>
> if (bit != tag) instead?

Right, thanks.

--
Roman

Reply via email to