Re: [PATCH v1 1/1] drm: Replace kernel.h with the necessary inclusions

From: Andy Shevchenko
Date: Tue Nov 23 2021 - 11:32:55 EST


On Mon, Nov 15, 2021 at 01:35:47PM +0200, Andy Shevchenko wrote:
> On Wed, Nov 10, 2021 at 05:39:33PM +0100, Thomas Zimmermann wrote:
> > Am 10.11.21 um 17:34 schrieb Andy Shevchenko:
> > > On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
> > > > Am 10.11.21 um 11:24 schrieb Andy Shevchenko:
>
> ...
>
> > > > > +#include <linux/container_of.h>
> > > >
> > > > I built this patch on a recent drm-misc-next, but there's no
> > > > linux/container_of.h
> > >
> > > Thank you for trying. It's in the upstream, whenever drm-misc-next
> > > switches to newer/newest upstream it will be there. I assume it will
> > > happen after v5.16-rc1?
> >
> > Yes, we'll certainly backmerge soon after rc1 has been released. If I forget
> > to add the patch then, please send a reminder.
> >
> > Once the necessary headers are available,
>
> $ git log --oneline v5.16-rc1 -- include/linux/container_of.h
> e1edc277e6f6 linux/container_of.h: switch to static_assert
> d2a8ebbf8192 kernel.h: split out container_of() and typeof_member() macros
>
> > the patch is
> > Acked-by: Thomas Zimmermann <tzimmermann@xxxxxxx>
>
> Thanks!

Maybe I misunderstood something, I thought that DRM people may apply this,
is it incorrect assumption?

--
With Best Regards,
Andy Shevchenko