Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp520823ima; Wed, 6 Feb 2019 04:10:25 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ8qgHa7BYX1REecLlODSXJCvH6X97eXD6ScuB6wme+mRKES411RSoTWwNZ0hM2USsosiyS X-Received: by 2002:a17:902:2c03:: with SMTP id m3mr9987778plb.6.1549455025526; Wed, 06 Feb 2019 04:10:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549455025; cv=none; d=google.com; s=arc-20160816; b=R0Zxu4DakPpson1p7Oqm2u3xBfFObfjKVCx0YvI1HHQLGgwiAgwW/itb23xwAPvS28 UlbnEhFIM2ktzg85reMfS3lSj/aAuDnaLui8Vr5zazK4zyIlVNnpz0v516QNTdEA3t85 FkSS0tDNJuqzDl7DTxaCHVIYPl64lt3lWwwQNP2Rh0F+QNnPfKC1YuiXmLMg+CVrAkZ/ 58qiUz7DKy8tCE5rWvOCkowU4UyHfolA9urItUyq9q4JQ7gr9USk1XwGjSAupYzjdYTd 8G+uYlk8QpQVPtXWURu4LlZ4FThVrg+BbYil9EVQHCpbfUQdz5fAs3tBxU1bMQy7PHnJ 0CFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=f9JLYkj5kAyNqDP+ARJLiQQxjhGYLveQYTvF/T/df6E=; b=jpbUqM6q+ZfOH0c/FdxCMc1Dly4zAufppdTdikESwhtEmw5uR4UGM7I+QoarMSm5CL hgUs/y/wWsZvvC3WHxMj/oBacYee9MCRsjTw2uoHNkYS9g1tLRC7ABCmxFMg9muSupeT 8HLfvFzpp4NLoJyzYCytSgQGcYRHsqkb8V1gjJgTuU1ZZolWmAPAvMlTgwof3QGyQIfX WbqHyQOK49CrTiJrKlqN2nD90GBmp1nrcqoA24jZGnRS9cF0htnjbTsr4VaR3qj/mwZY uXmDUWhawHuMqLgBXt+8kGsOs+NsbcdsHha1k5Pa9TbdBjOhy3EOYIkVub6kvR43/jm8 E/UQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@livid.pp.ru header.s=google header.b=eKKRgjz8; 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 r4si5605402pgi.387.2019.02.06.04.10.10; Wed, 06 Feb 2019 04:10:25 -0800 (PST) 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; dkim=pass header.i=@livid.pp.ru header.s=google header.b=eKKRgjz8; 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 S1730075AbfBFMB6 (ORCPT + 99 others); Wed, 6 Feb 2019 07:01:58 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:43209 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729756AbfBFMB5 (ORCPT ); Wed, 6 Feb 2019 07:01:57 -0500 Received: by mail-qk1-f194.google.com with SMTP id z18so4028898qkj.10 for ; Wed, 06 Feb 2019 04:01:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=livid.pp.ru; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f9JLYkj5kAyNqDP+ARJLiQQxjhGYLveQYTvF/T/df6E=; b=eKKRgjz85oiKJgKT65Mg7caHhbbsfsPOwVU6pZGIwpOci7S3xmRzc2mzb6mFd4Wlq5 xKidPh2DfHTXgGjj+3IgWuxZbiDu/wUVuVSrQNbNUf5iRe2rRPCz6cCsLWN4G9AT2cK6 RHP2FL+qvUezLcyav2PUHUzQrjRwrhVPGFJUI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f9JLYkj5kAyNqDP+ARJLiQQxjhGYLveQYTvF/T/df6E=; b=hD89ibCiIXkkrHvLn5chPsL8UcQjAdlR1/GAKG3bxXzjdaZ7Vc0A333tLnRtUrq7iM eFM8qPFwTA2a18Sy78u8Y0PiGLdjK2o7JgwgYJ9iI8SNlNrn9p4tqd+r4YRyb5Cg0S7y E5LX2CGX5nnhD+d5yt79e4j0pW53wXlocVZhLDXKpkl0cp6AJN/IjTFWWSHu0lMOsPJR ixWpA/qC0a2I0LwSLrxxhK9kEf9ddfJovMBo902VH0k9F3uM4kFFcgoeLxMQ77iEm81b GAw7DWGfv+gc8XclRi5c9heGkwaAbjm3OaTtrQ1uNRuwW/oEKrVZN7VxZAWY8W6spqq1 vnOg== X-Gm-Message-State: AHQUAuYaQbRVp9biX3gxdj/GL+9+KslAT106jxI0ccegdeoblbdFNoOM IxnR33Po33oD0gaMTuIFbhx5QwlxqO/7yYpjAbO8cg== X-Received: by 2002:a37:9906:: with SMTP id b6mr7157554qke.208.1549454516519; Wed, 06 Feb 2019 04:01:56 -0800 (PST) MIME-Version: 1.0 References: <20190115161354.6806-1-root@livid.pp.ru> In-Reply-To: From: Nikolay Yakimov Date: Wed, 6 Feb 2019 15:01:45 +0300 Message-ID: Subject: Re: [PATCH] USB: Fix configuration selection issues introduced in v4.20.0 To: "Gopal, Saranya" Cc: Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey there. Sorry to nag, but it seems we came to the conclusion that there's indeed a problem with the current code, and then collectively decided that we're done. Can I do something to expedite this? Are there any issues with my proposed patch? If there are, what can I do to fix those? Alternatively, perhaps it would be easier/faster if a bona fide kernel developer could fix problems described in this thread (well, actually, I believe we're down to one somewhat pressing problem, which could be fixed just by moving some code around) On Thu, 17 Jan 2019 at 06:53, Gopal, Saranya wrote: > > > The result is this: > > Before f13912d3f014a, if an RNDIS device has non-vendor-specific > > configurations after the first one, that one would be selected. > > After ff2a8c532c14, the first configuration would always be selected > > for RNDIS devices. Besides, there are several redundant checks in this > > case, which is, if nothing else, confusing. > > > > Hopefully I've explained my point clearly enough. > > Agreed. Thanks for pointing it out. I somehow missed this :( > > Thanks, > Saranya