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

Commit cfad8c47 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "haven: hh_msgq: Use GFP_ATOMIC allocations in hh_msgq_alloc_entry()"

parents b9da8780 c22e0963
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -561,14 +561,14 @@ static int __init hh_msgq_init(void)
		spin_lock_init(&cap_table_entry->rx_lock);
		spin_lock_init(&cap_table_entry->cap_entry_lock);

		cap_table_entry->tx_irq_name = kasprintf(GFP_KERNEL,
		cap_table_entry->tx_irq_name = kasprintf(GFP_ATOMIC,
							"hh_msgq_tx_%d", i);
		if (!cap_table_entry->tx_irq_name) {
			ret = -ENOMEM;
			goto err;
		}

		cap_table_entry->rx_irq_name = kasprintf(GFP_KERNEL,
		cap_table_entry->rx_irq_name = kasprintf(GFP_ATOMIC,
							"hh_msgq_rx_%d", i);
		if (!cap_table_entry->rx_irq_name) {
			ret = -ENOMEM;