video: hyperv_fb: include vmalloc.h
PATCH 1/1 video: hyperv_fb: include vmalloc.h
hvfb_getmem uses vzalloc, therefore vmalloc.h should be included.
Fixes commit d21987d709e807ba7bbf47044deb56a3c02e8be4 ("video: hyperv:hyperv_fb: Support deferred IO for Hyper-V frame buffer driver")
Signed-off-by Olaf Hering <[email protected]>
--- drivers/video/fbdev/hyperv_fb.c | 1 + 1 file changed, 1 insertion(+)
drivers/video/fbdev/hyperv_fb.c +1 -0
@@ -47,6 +47,7 @@#include <linux/module.h> #include <linux/kernel.h> +#include <linux/vmalloc.h> #include <linux/init.h> #include <linux/completion.h> #include <linux/fb.h>
Hi Olaf.
Quoted 6 lines · Olaf Hering
hvfb_getmemuses vzalloc, thereforevmalloc.hshould be included.Fixes commit
d21987d709e807ba7bbf47044deb56a3c02e8be4("video: hyperv:hyperv_fb: Support deferred IO for Hyper-V frame buffer driver")Signed-off-by Olaf Hering <[email protected]>
Thanks.
Applied to drm-misc-fixes - as it smells like a build fix in some configurations.
Sam
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel