Re: [PATCH v4 2/7] kernel.h: Split out container_of() and typeof_member() macros
From: Andy Shevchenko
Date: Thu Oct 07 2021 - 12:49:21 EST
On Thu, Oct 07, 2021 at 09:27:38AM -0700, Joe Perches wrote:
> On Thu, 2021-10-07 at 18:44 +0300, Andy Shevchenko wrote:
> > kernel.h is being used as a dump for all kinds of stuff for a long time.
> > Here is the attempt cleaning it up by splitting out container_of() and
> > typeof_member() macros.
> >
> > For time being include new header back to kernel.h to avoid twisted
> > indirected includes for existing users.
>
> IMO: this new file is missing 2 #include directives.
Thanks, Joe, I'll address this in v5.
--
With Best Regards,
Andy Shevchenko