Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1758157ybe; Tue, 3 Sep 2019 03:05:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwnvlZWUPzY/r2ntIkI7kZ1QJ0B/6jrYUDKrUodkt/t1guj3KbybhzwqaQeWdhAlooEwOr8 X-Received: by 2002:a63:1908:: with SMTP id z8mr28579592pgl.433.1567505121910; Tue, 03 Sep 2019 03:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567505121; cv=none; d=google.com; s=arc-20160816; b=Y/goFL3PI57nnkb14eYFiyDF1/cffjYNBFZHpA8cO0zQUek3iJ8fzAw9TxWJV3bD5E 9CcWFdTNiejys24B2LgXKjTF49QBqWMRfIG2C005SB6lEdueG12b8McQNplHzFA7h8IS NF76MaUyhwg1ySuCBvvHK9ILXAsm/B9MEV5CibP//270ej2b6UYUn+NdGGFBBZk0eldB sRzYMvKAkb2EbDGYkX75bJP3LcT5QmofuRwUaPcJA5NUPyV0ca3YUcXr5h+cnd4QUdCy Lfj8zLkHnjPjkjmFZ9TF2/4LgvWF0BPXtT3uUZUhEaXx5YqCh1w17+dpuUp5Vcx2CMdI n+YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=D7Ew03IHk8f2OFFdoBMN1+r+O6MmaFgMnvayLWzIEpc=; b=LFebG01z5O7vy8rkHE02uKuC4Hf4AKsN5WUefzq3kkj9U3RBZ9waBNubqd3PABatZU PPfYBAx2gSEFLzMhhJWk7NYN54j1+oLj7rLSq8OhIz7KgyZQdLRnbmRQTvzPZ0QVOTXU X3XLisbkeptjXO2FCy3zXedQXYg6sv4zWu4bNKHtvUL2Aa/T8mOFi1A9a6JPiwF/oR23 AKQIPdNOcaFNBqyi24RLeBxpoPikQBx+4LFXbIYyMdLjYpDU/V9RXFfLeWnCoFFVBFax 2HSCctDIoU419jHX3Zv9E0euUSXCWSD+9lXyn4XAJy8kp8x5b29ifg+C65TOlIDUVsQ2 NpFA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si13946142pgc.236.2019.09.03.03.05.01; Tue, 03 Sep 2019 03:05:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728312AbfICKEI (ORCPT + 99 others); Tue, 3 Sep 2019 06:04:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:58898 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726840AbfICKEH (ORCPT ); Tue, 3 Sep 2019 06:04:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8B0B6AF70; Tue, 3 Sep 2019 10:04:06 +0000 (UTC) Message-ID: <1567505043.2878.4.camel@suse.com> Subject: Re: [PATCH] usb: storage: Add ums-cros-aoa driver From: Oliver Neukum To: Greg KH Cc: Julius Werner , USB Storage list , Dan Williams , Alan Stern , Kernel development list , USB list Date: Tue, 03 Sep 2019 12:04:03 +0200 In-Reply-To: <20190903091953.GA12325@kroah.com> References: <20190902164724.GA22619@kroah.com> <1567500374.2878.2.camel@suse.com> <20190903091953.GA12325@kroah.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, den 03.09.2019, 11:19 +0200 schrieb Greg KH: > On Tue, Sep 03, 2019 at 10:46:14AM +0200, Oliver Neukum wrote: > > Am Montag, den 02.09.2019, 18:47 +0200 schrieb Greg KH: > > > > > > This should work just fine today. Add a new device id to the "new_id" > > > file and then tell the driver to bind. That's pretty much the same as a > > > "force_bind", right? > > > > That looks like a race condition by design to me. > > How? You have one of these files and potentially multiple devices to be bound. You need a locking scheme. As soon as the acts of specifying and binding are distinct. Regards Oliver