Re: [PATCH v2 2/2] bitmap-str: Add missing header(s)

From: Andy Shevchenko
Date: Wed Apr 16 2025 - 13:48:08 EST


On Wed, Apr 16, 2025 at 12:56:08PM -0400, Yury Norov wrote:
> On Wed, Apr 16, 2025 at 09:32:11AM +0300, Andy Shevchenko wrote:
> > bitmap-str.h is not self-contained, it uses something that is provided
> > elsewhere, add missing header(s).
>
> Can you be more specific? Is 'something' means the __user? If so, it's
> provided in linux/compiler_types.h.

bool, __user is defined in compiler_*.h which is guaranteed to be included by
types.h

> Can you add the compiler error you're trying to fix, or how did you
> caught it?

It's by reading the code.

--
With Best Regards,
Andy Shevchenko