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

Andy Shevchenko andy.shevchenko at gmail.com
Wed Nov 10 16:34:01 UTC 2021


On Wed, Nov 10, 2021 at 3:55 PM Thomas Zimmermann <tzimmermann at suse.de> 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


More information about the dri-devel mailing list