Re: [PATCH v4 2/7] kernel.h: Split out container_of() and typeof_member() macros

From: Andy Shevchenko
Date: Thu Oct 07 2021 - 12:12:14 EST


On Thu, Oct 07, 2021 at 05:54:32PM +0200, Miguel Ojeda wrote:
> On Thu, Oct 7, 2021 at 5:44 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> >
> > +#define typeof_member(T, m) typeof(((T*)0)->m)
>
> Is the patch missing the removal from the other place?

Possibly, but I leave it for now for builders to place with the series and
people having chance to comment.

Thanks for review!

Maybe Andrew can fix this when applying?

--
With Best Regards,
Andy Shevchenko