mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 04:42:04 -04:00
Merge "haven: hh_msgq: Use GFP_ATOMIC allocations in hh_msgq_alloc_entry()"
This commit is contained in:
commit
cfad8c4755
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue