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

From: Andy Shevchenko
Date: Wed Nov 10 2021 - 11:34:50 EST


On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
> Am 10.11.21 um 11:24 schrieb Andy Shevchenko:
> > When kernel.h is used in the headers it adds a lot into dependency hell,
> > especially when there are circular dependencies are involved.
> >
> > Replace kernel.h inclusion with the list of what is really being used.

...

> > +#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?

--
With Best Regards,
Andy Shevchenko