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

From: Oliver Neukum
Date: Tue Aug 25 2015 - 10:23:48 EST


On Mon, 2015-08-24 at 23:13 +0300, Eugene Shatokhin wrote:
> 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@xxxxxxx>.
>
> Signed-off-by: Eugene Shatokhin <eugene.shatokhin@xxxxxxxxxx>
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/