Quantcast
Channel: Linux | Kernel
Viewing all articles
Browse latest Browse all 165258

[PATCH v1] tty: serial: Use GFP_ATOMIC instead of GFP_KERNEL in serial8250_em485_init()

$
0
0
serial8250_em485_init() is supposed to be protected with p->port.lock spinlock. This may lead to issues when kmalloc sleeps, so it is better to use GF

Viewing all articles
Browse latest Browse all 165258

Trending Articles