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

Thomas Zimmermann tzimmermann at suse.de
Wed Nov 10 16:39:33 UTC 2021


Hi

Am 10.11.21 um 17:34 schrieb Andy Shevchenko:
> 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?

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 at suse.de>

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20211110/b7b44b06/attachment.sig>


More information about the dri-devel mailing list