Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp366668ybt; Fri, 19 Jun 2020 03:56:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJo6f+GvAKpg+kkAnQ+waZMjARZnUaQkhkp1vKw5Cm9UVwVDFe6fW+DBOIAiuScq7jcr0E X-Received: by 2002:aa7:c908:: with SMTP id b8mr2713941edt.76.1592564193383; Fri, 19 Jun 2020 03:56:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592564193; cv=none; d=google.com; s=arc-20160816; b=eHb2XLjiw/TnQqM3IwzgF9LIj2WErdksMcNCCe5+1ng3SiAoS+EV3v/Qm1o5dPsgSr b1IhNrpgO1RLZomGqs3XNuU1CZI23MxbwmIGpl9qhh5eSQ0AKcs60J+RdaBYU9v0zo8L 8cKdknYoUVT88YT7DLEBBnv/PSCWaiObrLvtjMWoAWHnCWmLI8/Z9fT1xBw4xCZDp2lv g03SCiJY4V0snJ4iLAnI4sLZQ6TlGYuoHkzPBEg3AUal9+GFxj6RG2bR0pF/I4d0R08j tsgy7sfdJKKREV36z9V/PagNyQ7jyt/YsSmtdzg9ZfJTq6hVZsuVHFX63aGp8SQe8BPU hlBA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gdQ8Sg66vaxNDmevYTckcfDoJ9SswGIMhylYcGrksuc=; b=K1qdyrVOOeltNzb8G9FiH3/flPjiiU+eq0ROW4nC86A39qJPguAXLjsIZzimDFkAgC Y6tsVOR2QUjeYLkxxOWkrW4NHRA45XICk1Yj108PEbgkpLXmX840nfZA+rGFplPB4P/P m/Wx6riusgmKntxpkQ2KqEDfU+gj5bVNLwcjHvf+nRuaIfaMFaG3VstwgPa7Oxg7PN3F 0xu9z1SGy2+xogk9kFRo3T7D+TGhyfOek2bmFOh62zbyBHzYkv/qBQgB/ih6AvEt4hw3 6CIseCgAFK5CcxP3zeLy4PRGIRhDqfODzxlN4b/BwYTBXiNB+jgBJ4N07Av3WLSwJ9nA W3HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J9w0UgrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z21si3548577eju.544.2020.06.19.03.56.08; Fri, 19 Jun 2020 03:56:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=J9w0UgrA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732453AbgFSKyD (ORCPT + 99 others); Fri, 19 Jun 2020 06:54:03 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:29361 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732362AbgFSKyD (ORCPT ); Fri, 19 Jun 2020 06:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592564041; 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=gdQ8Sg66vaxNDmevYTckcfDoJ9SswGIMhylYcGrksuc=; b=J9w0UgrAkx6Tvzxf0j6HnrEZVLe0lZLE7ARLIcnojYT2Ovc6JrsPHSm07aR0G5DsRFDrIe cNuAUdMKmBzXEJliT+peLbW9z9Af8Y0Kmbtb5rg25acJZpBUjaeyzlN2Ma1WS44OeRP+Mt VudbH8DVpPEnQra2sBINEZJbme2bSE0= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-414-YFcwuSBwOsaTDTKRq44ATQ-1; Fri, 19 Jun 2020 06:54:00 -0400 X-MC-Unique: YFcwuSBwOsaTDTKRq44ATQ-1 Received: by mail-ed1-f70.google.com with SMTP id i11so3550002edx.4 for ; Fri, 19 Jun 2020 03:53:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gdQ8Sg66vaxNDmevYTckcfDoJ9SswGIMhylYcGrksuc=; b=IBIW4+cPFADaANXz7rq2J6z/PrkoDyJpAgZp1Z6OjOkydplLcQmzevObVZLekckGTb jQBA+hooSUIFq50NPjCkGCoRNB2yD4aprMSTmnnch2EA1FV/8d+1PZK4toLfSQ3Y3Jvr dWWzC/hvng8FBCmxrA0lIBdmbOpJZIXsnCEdDmsU0KRj1Gd98j7313oGgm/yi8rpADyc cekIjmHMHZZEm6CuOgKGZNs6m8Pk+G4t9FmscmKVx5h4aHCnma+txs2YRIlJwstLuTUz pKsookkkeorG7A1Rd/zeobwM/+a8hKY8Ye9pNapdpUh0RD0xk62gCRu+0aKyuZAyDyOZ HHxQ== X-Gm-Message-State: AOAM532qP9WaFD2HKzeVA7HIHa33tRVBmKWcJh2lHnQMBQVo/E9V2iDH kei+WCzrrCvA/qSXpf8qg8leaQh7BqxaRP/r8lx0Nz+vCDIrh0gfdMMOFz7Bujdp2SXJIILE5WC 6La6MZRqssdAQKf1TqZGMpTv3 X-Received: by 2002:a17:906:509:: with SMTP id j9mr2930026eja.341.1592564038940; Fri, 19 Jun 2020 03:53:58 -0700 (PDT) X-Received: by 2002:a17:906:509:: with SMTP id j9mr2930007eja.341.1592564038692; Fri, 19 Jun 2020 03:53:58 -0700 (PDT) Received: from x1.localdomain (2001-1c00-0c0c-fe00-d2ea-f29d-118b-24dc.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:d2ea:f29d:118b:24dc]) by smtp.gmail.com with ESMTPSA id o20sm4438607ejx.102.2020.06.19.03.53.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 03:53:58 -0700 (PDT) Subject: Re: [PATCH 1/8] USB: rename USB quirk to USB_QUIRK_ENDPOINT_IGNORE To: Bastien Nocera , Greg Kroah-Hartman , linux-usb@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Johan Hovold , Alan Stern , Richard Dodd , Jonathan Cox , =?UTF-8?Q?Thi=c3=a9baud_Weksteen?= , Nishad Kamdar References: <20200618094300.1887727-1-gregkh@linuxfoundation.org> <20200618094300.1887727-2-gregkh@linuxfoundation.org> <484c84b62140f6536f841e7027ddd9ddcf179a72.camel@hadess.net> From: Hans de Goede Message-ID: <62b8ddc4-8d26-1160-6934-fe6a68231938@redhat.com> Date: Fri, 19 Jun 2020 12:53:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <484c84b62140f6536f841e7027ddd9ddcf179a72.camel@hadess.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bastien, On 6/19/20 12:50 PM, Bastien Nocera wrote: > On Thu, 2020-06-18 at 11:42 +0200, Greg Kroah-Hartman wrote: >> The USB core has a quirk flag to ignore specific endpoints, so rename >> it >> to be more obvious what this quirk does. >> >> Cc: Johan Hovold >> Cc: Alan Stern >> Cc: Richard Dodd >> Cc: Hans de Goede >> Cc: Jonathan Cox >> Cc: Bastien Nocera >> Cc: "ThiƩbaud Weksteen" >> Cc: Nishad Kamdar >> Signed-off-by: Greg Kroah-Hartman > > If the driver API change below is agreeable, you can add my: > Reviewed-by: Bastien Nocera A note for future reference, not sure what you mean with driver API here. If you mean the in kernel API, the kernel rules are that we are always free to change that (Linux does not have a stable driver API). So if a header does not sit under include/uapi (indicating that it is an userspace API) then a change like this is fine. Regards, Hans > Good job. > > >> diff --git a/include/linux/usb/quirks.h b/include/linux/usb/quirks.h >> index 22c1f579afe3..5e4c497f54d6 100644 >> --- a/include/linux/usb/quirks.h >> +++ b/include/linux/usb/quirks.h >> @@ -69,7 +69,7 @@ >> /* Hub needs extra delay after resetting its port. */ >> #define USB_QUIRK_HUB_SLOW_RESET BIT(14) >> >> -/* device has blacklisted endpoints */ >> -#define USB_QUIRK_ENDPOINT_BLACKLIST BIT(15) >> +/* device has endpoints that should be ignored */ >> +#define USB_QUIRK_ENDPOINT_IGNORE BIT(15) >> >> #endif /* __LINUX_USB_QUIRKS_H */ > > >