Thread (6 messages) 6 messages, 3 authors, 2014-10-13

Re: [PATCH] tty/serial_core: Introduce lock mechanism for RS485

From: Ricardo Ribalda Delgado <hidden>
Date: 2014-10-13 19:03:22
Also in: lkml

Hello Alan
quoted
+     spin_unlock_irqrestore(&port->lock, flags);
Looks good apart from this bit.. The copy needs to go to a temporary
before the lock is taken otherwise we may sleep on a pagefault with irqs
off

Alan
Good catch

I will fix it as you suggest.

I will give a give a couple of days for comments about the serie
"[PATCH 00/12] Handle TIOC[GS]RS485
iocts on serial_core"  Then I will resend the series including this
patch (of course, fixed)


Thanks!


-- 
Ricardo Ribalda
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help