Linux-fbdev Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v1] video: hyperv_fb: include vmalloc.h
@ 2020-11-06 18:39 Olaf Hering
  2020-11-09  7:21 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2020-11-06 18:39 UTC (permalink / raw)
  To: linux-hyperv, dri-devel, linux-fbdev, linux-kernel
  Cc: Olaf Hering, K. Y. Srinivasan, Haiyang Zhang, Stephen Hemminger,
	Wei Liu, Bartlomiej Zolnierkiewicz

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 <olaf@aepfle.de>
---
 drivers/video/fbdev/hyperv_fb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/fbdev/hyperv_fb.c b/drivers/video/fbdev/hyperv_fb.c
index e36fb1a0ecdb..5bc86f481a78 100644
--- a/drivers/video/fbdev/hyperv_fb.c
+++ b/drivers/video/fbdev/hyperv_fb.c
@@ -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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v1] video: hyperv_fb: include vmalloc.h
  2020-11-06 18:39 [PATCH v1] video: hyperv_fb: include vmalloc.h Olaf Hering
@ 2020-11-09  7:21 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2020-11-09  7:21 UTC (permalink / raw)
  To: Olaf Hering
  Cc: linux-hyperv, dri-devel, linux-fbdev, linux-kernel,
	Stephen Hemminger, Bartlomiej Zolnierkiewicz, Haiyang Zhang,
	Wei Liu, K. Y. Srinivasan

Hi Olaf.

On Fri, Nov 06, 2020 at 07:39:41PM +0100, Olaf Hering wrote:
> 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 <olaf@aepfle.de>

Thanks.
Applied to drm-misc-fixes - as it smells like a build fix in some
configurations.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 18:39 [PATCH v1] video: hyperv_fb: include vmalloc.h Olaf Hering
2020-11-09  7:21 ` Sam Ravnborg

Linux-fbdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-fbdev/0 linux-fbdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-fbdev linux-fbdev/ https://lore.kernel.org/linux-fbdev \
		linux-fbdev@vger.kernel.org
	public-inbox-index linux-fbdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-fbdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git