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

From: Thomas Zimmermann
Date: Wed Nov 10 2021 - 11:39:38 EST


Hi

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:
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?

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, the patch is

Acked-by: Thomas Zimmermann <tzimmermann@xxxxxxx>

Best regards
Thomas



--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev

Attachment: OpenPGP_signature
Description: OpenPGP digital signature