PCI: hv: Allocate physically contiguous hypercall params buffer
hv_do_hypercall() assumes that we pass a segment from a physically contiguous buffer. A buffer allocated on the stack may not work if CONFIG_VMAP_STACK=y is set. Use kmalloc() to allocate this buffer. Reported-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NLong Li <longli@microsoft.com> Signed-off-by: NBjorn Helgaas <bhelgaas@google.com> Acked-by: NK. Y. Srinivasan <kys@microsoft.com>
Showing
想要评论请 注册 或 登录