From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37D99C43464 for ; Mon, 21 Sep 2020 11:54:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DBD0820BED for ; Mon, 21 Sep 2020 11:54:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="p67keRmR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726430AbgIULyJ (ORCPT ); Mon, 21 Sep 2020 07:54:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:38672 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726326AbgIULyI (ORCPT ); Mon, 21 Sep 2020 07:54:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600689247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Y7OwhzAiKQdiDo72r8cyf8XbakXSFRsfuUT0Iglk/f8=; b=p67keRmR7+hBdNNrjdYDXUGlEoq4ZNBr67sKjKw4A/7HdjxW4TmJd2bnA5Wp/zUpvO0C3X CnX5bJWfwuqDomkpBWtCdzyxFDOTZDs0piBDkfXqvAjTOpNxw6hw2G3LMQ94Yu09I++PDq wAawtLW2F/b99/XhZlsS4Wd02lI15DM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id F3C39ACC8; Mon, 21 Sep 2020 11:54:42 +0000 (UTC) Message-ID: <1600689232.2424.78.camel@suse.com> Subject: Re: [RFC 4/4] USB: cdc-acm: clean up handling of quirky devices From: Oliver Neukum To: Johan Hovold Cc: Greg Kroah-Hartman , linux-usb@vger.kernel.org, Daniel Caujolle-Bert Date: Mon, 21 Sep 2020 13:53:52 +0200 In-Reply-To: <20200921113525.32187-5-johan@kernel.org> References: <20200921113525.32187-1-johan@kernel.org> <20200921113525.32187-5-johan@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Am Montag, den 21.09.2020, 13:35 +0200 schrieb Johan Hovold: > Instead of falling back to "combined-interface" probing when detecting > broken union and call-management descriptors, assume all interfaces with > three endpoints are of "combined-interface" type. Hi, this just ignores a union header. I am afraid that is not correct. Could you move it into the !union_header clause? Regards Oliver