summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-08-15 14:59:12 -0500
committerBjorn Helgaas <bhelgaas@google.com>2018-08-15 14:59:12 -0500
commit1974704eadb221f0e827e05989fe569ec7049a71 (patch)
treeb2798318a8ff656bfb21de8038add0e24783a19d /drivers/pci
parent0c38011aba35b2cdca263c0ba4d28e2e727b5acb (diff)
parent7403bd14d7b545ef89c3443c09ccdb3c631a9a27 (diff)
downloadlinux-1974704eadb221f0e827e05989fe569ec7049a71.tar.gz
linux-1974704eadb221f0e827e05989fe569ec7049a71.tar.bz2
linux-1974704eadb221f0e827e05989fe569ec7049a71.zip
Merge branch 'remotes/lorenzo/pci/hv'
- Remove unnecessary GFP_ATOMIC from Hyper-V "new child" allocation (Jia-Ju Bai) * remotes/lorenzo/pci/hv: PCI: hv: Replace GFP_ATOMIC with GFP_KERNEL in new_pcichild_device()
Diffstat (limited to 'drivers/pci')
-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 f6325f1a89e8..eb202966b083 100644
--- a/drivers/pci/controller/pci-hyperv.c
+++ b/drivers/pci/controller/pci-hyperv.c
@@ -1545,7 +1545,7 @@ static struct hv_pci_dev *new_pcichild_device(struct hv_pcibus_device *hbus,
unsigned long flags;
int ret;
- hpdev = kzalloc(sizeof(*hpdev), GFP_ATOMIC);
+ hpdev = kzalloc(sizeof(*hpdev), GFP_KERNEL);
if (!hpdev)
return NULL;