Re: [PATCH v5 1/2] lib/test_bitops: Add benchmark test for fns()

From: Miguel Ojeda
Date: Mon May 06 2024 - 14:10:16 EST


On Mon, May 6, 2024 at 7:52 PM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> No, unused can be used with local variables, used cannot.

Yeah, sorry, I meant `used`, i.e. it is that one the one that
constraints the combination rather than `unused`.

>From a quick look at the links in `compiler_attributes.h`, `unused`
can also be applied to types, while `used` cannot -- it is another
difference, but your sentence above already implies it anyway. :)

Thanks for the correction!

Cheers,
Miguel