[PATCH] drm/gud: Fix missing include
Noralf Trønnes
noralf at tronnes.org
Thu Dec 8 11:20:28 UTC 2022
Den 08.12.2022 09.15, skrev Thomas Zimmermann:
> Hi
>
> Am 07.12.22 um 20:51 schrieb Noralf Trønnes via B4 Submission Endpoint:
>> From: Noralf Trønnes <noralf at tronnes.org>
>>
>> Add missing vmalloc.h include.
>>
>> Fixes: c17d048609bf ("drm/gud: Use the shadow plane helper")
>> Reported-by: kernel test robot <lkp at intel.com>
>> Signed-off-by: Noralf Trønnes <noralf at tronnes.org>
>
> Reviewed-by: Thomas Zimmermann <tzimmermann at suse.de>
>
Thanks.
> The missing-vmalloc() error is a real classic. :( Some architectures
> declare the function and some don't.
>
Yeah, I think I've seen this before. Good we have the bots to cover the
corner cases.
Noralf.
> Best regards
> Thomas
>
>> ---
>> drivers/gpu/drm/gud/gud_pipe.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/gud/gud_pipe.c
>> b/drivers/gpu/drm/gud/gud_pipe.c
>> index 62c43d3632d4..dc16a92625d4 100644
>> --- a/drivers/gpu/drm/gud/gud_pipe.c
>> +++ b/drivers/gpu/drm/gud/gud_pipe.c
>> @@ -5,6 +5,7 @@
>> #include <linux/lz4.h>
>> #include <linux/usb.h>
>> +#include <linux/vmalloc.h>
>> #include <linux/workqueue.h>
>> #include <drm/drm_atomic.h>
>>
>> ---
>> base-commit: 5ad8e63ebba3d5a0730b43180b200e41eeb9409c
>> change-id: 20221207-gud-missing-include-9ccf56382f8a
>>
>> Best regards,
>
More information about the dri-devel
mailing list