Skip to content
Commit 0de8ce3e authored by Long Li's avatar Long Li Committed by Bjorn Helgaas
Browse files

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: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarLong Li <longli@microsoft.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
parent e74d2ebd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment