Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755660AbbHYNDN (ORCPT ); Tue, 25 Aug 2015 09:03:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:35689 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbbHYNDM (ORCPT ); Tue, 25 Aug 2015 09:03:12 -0400 Message-ID: <1440507709.13824.6.camel@suse.com> Subject: Re: [PATCH 1/2] usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared From: Oliver Neukum To: Eugene Shatokhin Cc: =?ISO-8859-1?Q?Bj=F8rn?= Mork , David Miller , netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 25 Aug 2015 15:01:49 +0200 In-Reply-To: <1440447223-15945-2-git-send-email-eugene.shatokhin@rosalab.ru> References: <55AD3A41.2040100@rosalab.ru> <1440447223-15945-1-git-send-email-eugene.shatokhin@rosalab.ru> <1440447223-15945-2-git-send-email-eugene.shatokhin@rosalab.ru> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.11 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 569 Lines: 17 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. Can we agree that this at least is good and should go upstream and into stable? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/