aboutsummaryrefslogtreecommitdiffstats
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
parentMerge branch 'remotes/lorenzo/pci/dwc' (diff)
parentPCI: hv: Replace GFP_ATOMIC with GFP_KERNEL in new_pcichild_device() (diff)
downloadlinux-dev-1974704eadb221f0e827e05989fe569ec7049a71.tar.xz
linux-dev-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;