public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Yury Norov <yury.norov@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>
Subject: Re: [PATCH v2 2/2] bitmap-str: Add missing header(s)
Date: Wed, 16 Apr 2025 20:47:44 +0300	[thread overview]
Message-ID: <Z__tQJeyKmbQkwDT@smile.fi.intel.com> (raw)
In-Reply-To: <Z__hKFYI5wowbZPx@yury>

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



      reply	other threads:[~2025-04-16 17:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-16  6:32 [PATCH v2 0/2] bitmap-str: A couple of cleanups Andy Shevchenko
2025-04-16  6:32 ` [PATCH v2 1/2] bitmap-str: Get rid of 'extern' for function prototypes Andy Shevchenko
2025-04-16  6:32 ` [PATCH v2 2/2] bitmap-str: Add missing header(s) Andy Shevchenko
2025-04-16 16:56   ` Yury Norov
2025-04-16 17:47     ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z__tQJeyKmbQkwDT@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=yury.norov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox