Re: [PATCH 1/2] usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared

From
David Miller <davem@davemloft.net>
Date
2015-08-26 02:44:54
Also in
lkml
Reply to
Eugene Shatokhin, 2015-08-24
From: Eugene Shatokhin <redacted>
Date: Mon, 24 Aug 2015 23:13:42 +0300
It is needed to check EVENT_NO_RUNTIME_PM bit of dev->flags in
usbnet_stop(), but its value should be read before it is cleared
when dev->flags is set to 0.

The problem was spotted and the fix was provided by
Oliver Neukum [off-list ref].

Signed-off-by: Eugene Shatokhin <redacted>
Applied and queued up for -stable.
Thread (25 messages) 25 messages, 4 authors, 2015-08-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help