Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22fd74a9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "of/pci: fix sleeping from atomic context in pci_register_io_range()"

parents 5f21a2cf 200094ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -707,7 +707,7 @@ int __weak pci_register_io_range(phys_addr_t addr, resource_size_t size)
	}

	/* add the range to the list */
	range = kzalloc(sizeof(*range), GFP_KERNEL);
	range = kzalloc(sizeof(*range), GFP_ATOMIC);
	if (!range) {
		err = -ENOMEM;
		goto end_register;