aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/controller/pci-hyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c
index 6cc5036ac83c..ba1d4b556064 100644
--- a/drivers/pci/controller/pci-hyperv.c
+++ b/drivers/pci/controller/pci-hyperv.c
@@ -1543,7 +1543,7 @@ static struct hv_pci_dev *new_pcichild_device(struct hv_pcibus_device *hbus,
1543 unsigned long flags; 1543 unsigned long flags;
1544 int ret; 1544 int ret;
1545 1545
1546 hpdev = kzalloc(sizeof(*hpdev), GFP_ATOMIC); 1546 hpdev = kzalloc(sizeof(*hpdev), GFP_KERNEL);
1547 if (!hpdev) 1547 if (!hpdev)
1548 return NULL; 1548 return NULL;
1549 1549