From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
kunit-dev@googlegroups.com, linux-media@vger.kernel.org,
netdev@vger.kernel.org,
Brendan Higgins <brendanhiggins@google.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Ingo Molnar <mingo@redhat.com>, Will Deacon <will@kernel.org>,
Waiman Long <longman@redhat.com>,
Boqun Feng <boqun.feng@gmail.com>,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Thomas Graf <tgraf@suug.ch>,
Herbert Xu <herbert@gondor.apana.org.au>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH v2 2/4] kernel.h: Split out container_of() and typeof_member() macros
Date: Thu, 7 Oct 2021 12:38:21 +0200 [thread overview]
Message-ID: <YV7OHWy+0MNGpUKl@kroah.com> (raw)
In-Reply-To: <20211007095129.22037-3-andriy.shevchenko@linux.intel.com>
On Thu, Oct 07, 2021 at 12:51:27PM +0300, Andy Shevchenko wrote:
> --- a/lib/radix-tree.c
> +++ b/lib/radix-tree.c
> @@ -12,19 +12,21 @@
> #include <linux/bitmap.h>
> #include <linux/bitops.h>
> #include <linux/bug.h>
> +#include <linux/container_of.h>
> #include <linux/cpu.h>
> #include <linux/errno.h>
> #include <linux/export.h>
> #include <linux/idr.h>
> #include <linux/init.h>
> -#include <linux/kernel.h>
> #include <linux/kmemleak.h>
> +#include <linux/math.h>
> #include <linux/percpu.h>
> #include <linux/preempt.h> /* in_interrupt() */
> #include <linux/radix-tree.h>
> #include <linux/rcupdate.h>
> #include <linux/slab.h>
> #include <linux/string.h>
> +#include <linux/types.h>
> #include <linux/xarray.h>
>
> /*
> @@ -285,6 +287,8 @@ radix_tree_node_alloc(gfp_t gfp_mask, struct radix_tree_node *parent,
> return ret;
> }
>
> +extern void radix_tree_node_rcu_free(struct rcu_head *head);
.c files should not need an extern, this belongs in a .h file somewhere,
or something really went wrong here...
thanks,
greg k-h
next prev parent reply other threads:[~2021-10-07 10:38 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-07 9:51 [PATCH v2 0/4] kernel.h further split Andy Shevchenko
2021-10-07 9:51 ` [PATCH v2 1/4] kernel.h: Drop unneeded <linux/kernel.h> inclusion from other headers Andy Shevchenko
2021-10-07 9:51 ` [PATCH v2 2/4] kernel.h: Split out container_of() and typeof_member() macros Andy Shevchenko
2021-10-07 10:37 ` Greg Kroah-Hartman
2021-10-07 10:38 ` Greg Kroah-Hartman [this message]
2021-10-07 9:51 ` [PATCH v2 3/4] lib/rhashtable: Replace kernel.h with the necessary inclusions Andy Shevchenko
2021-10-07 11:23 ` Herbert Xu
2021-10-07 11:44 ` Andy Shevchenko
2021-10-08 2:18 ` Herbert Xu
2021-10-07 9:51 ` [PATCH v2 4/4] kunit: " Andy Shevchenko
2021-10-07 10:33 ` [PATCH v2 0/4] kernel.h further split Greg Kroah-Hartman
2021-10-07 11:51 ` Andy Shevchenko
2021-10-07 13:59 ` Greg Kroah-Hartman
2021-10-07 14:47 ` Andy Shevchenko
2021-10-07 15:07 ` Greg Kroah-Hartman
2021-10-08 9:37 ` Thorsten Leemhuis
2021-10-13 10:31 ` Andy Shevchenko
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=YV7OHWy+0MNGpUKl@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=akpm@linux-foundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=boqun.feng@gmail.com \
--cc=brendanhiggins@google.com \
--cc=herbert@gondor.apana.org.au \
--cc=kunit-dev@googlegroups.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=longman@redhat.com \
--cc=mchehab@kernel.org \
--cc=mingo@redhat.com \
--cc=netdev@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=rdunlap@infradead.org \
--cc=sakari.ailus@linux.intel.com \
--cc=tglx@linutronix.de \
--cc=tgraf@suug.ch \
--cc=will@kernel.org \
/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