projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
433fcf6
)
PCI: hv: Allocate interrupt descriptors with GFP_ATOMIC
author
K. Y. Srinivasan
<kys@microsoft.com>
Fri, 24 Mar 2017 18:07:22 +0000
(11:07 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 4 Apr 2017 19:00:01 +0000
(14:00 -0500)
The memory allocation here needs to be non-blocking. Fix the issue.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Long Li <longli@microsoft.com>
Cc: <stable@vger.kernel.org>
drivers/pci/host/pci-hyperv.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pci-hyperv.c
b/drivers/pci/host/pci-hyperv.c
index 8c952f694c2f76538fd7d017fd03c06628f3927a..e73880c5d9794af047c30f1144049756f377737d 100644
(file)
--- a/
drivers/pci/host/pci-hyperv.c
+++ b/
drivers/pci/host/pci-hyperv.c
@@
-878,7
+878,7
@@
static void hv_compose_msi_msg(struct irq_data *data, struct msi_msg *msg)
hv_int_desc_free(hpdev, int_desc);
}
- int_desc = kzalloc(sizeof(*int_desc), GFP_
KERNEL
);
+ int_desc = kzalloc(sizeof(*int_desc), GFP_
ATOMIC
);
if (!int_desc)
goto drop_reference;