[PATCH] drm/gud: Fix missing include

Thomas Zimmermann tzimmermann at suse.de
Thu Dec 8 08:15:18 UTC 2022


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>

The missing-vmalloc() error is a real classic. :( Some architectures 
declare the function and some don't.

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,

-- 
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/20221208/c293b8c1/attachment-0001.sig>


More information about the dri-devel mailing list