mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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()
This commit is contained in:
commit
1974704ead
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue