diff options
author | 2015-08-24 23:13:42 +0300 | |
---|---|---|
committer | 2015-08-25 19:44:13 -0700 | |
commit | f50791ac1aca1ac1b0370d62397b43e9f831421a (patch) | |
tree | 5abf5300a97557eec74051c5043b24468a51a8cd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | drivers: net: xgene: fix: Oops in linkwatch_fire_event (diff) | |
download | wireguard-linux-f50791ac1aca1ac1b0370d62397b43e9f831421a.tar.xz wireguard-linux-f50791ac1aca1ac1b0370d62397b43e9f831421a.zip |
usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared
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 <oneukum@suse.de>.
Signed-off-by: Eugene Shatokhin <eugene.shatokhin@rosalab.ru>
Acked-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions