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=-16.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 B114DC433EF for ; Tue, 14 Sep 2021 18:58:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 976236113B for ; Tue, 14 Sep 2021 18:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232278AbhINS7Q (ORCPT ); Tue, 14 Sep 2021 14:59:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:34880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232359AbhINS7L (ORCPT ); Tue, 14 Sep 2021 14:59:11 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0EBA761130; Tue, 14 Sep 2021 18:57:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631645874; bh=dd5YBsKq0kKtdjlfugGsWrclHUSx6pYm7MzhzBwLRTI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=BCkemMXYji7HDVg761E4H3PDpguL8jvcwoRW+aootTkauFiy92a9EoVbo/gacOd84 NPzWME9JZ+mM3Fl9Oy5es8U5RU2VAi7SY8VPgjruP0LL84vz6dSoMPel04EpGJCX3d 5IcWF9LoaipjKcsC0wKt//3yeZB4ocfgPegGf8xSFQC4naLa+bG9au9mCw1D8D64Yl LGhOjjVxJOmeCYg11m6Mg0LcIZJyTpQsBcdW4P6qGoAualZY0zroABSRGgQobuXGKJ OV4W68mrPp8UV7I1akHb7zEGl0MfmZDoP468vquN3mxuS6lrkFrwMpB3y3smC5y1Vs W3LkUQ91O+RGw== Date: Tue, 14 Sep 2021 13:57:52 -0500 From: Bjorn Helgaas To: Mauro Carvalho Chehab Cc: Greg Kroah-Hartman , Linux Doc Mailing List , Jonathan Corbet , Bjorn Helgaas , Heikki Krogerus , Jonathan Cameron , Rajat Jain , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/29] ABI: sysfs-bus-usb: better document variable argument Message-ID: <20210914185752.GA1444725@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 04:32:16PM +0200, Mauro Carvalho Chehab wrote: > On almost all ABI documents, variable arguments are declared > as . Change it here too, in order to allow replacing > such wildcards by regexes on a scriptable way. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Bjorn Helgaas > --- > Documentation/ABI/testing/sysfs-bus-usb | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb > index 73eb23bc1f34..42103f0f54d6 100644 > --- a/Documentation/ABI/testing/sysfs-bus-usb > +++ b/Documentation/ABI/testing/sysfs-bus-usb > @@ -166,14 +166,14 @@ Description: > The file will be present for all speeds of USB devices, and will > always read "no" for USB 1.1 and USB 2.0 devices. > > -What: /sys/bus/usb/devices/.../(hub interface)/portX > +What: /sys/bus/usb/devices/...//port > Date: August 2012 > Contact: Lan Tianyu > Description: > - The /sys/bus/usb/devices/.../(hub interface)/portX > + The /sys/bus/usb/devices/...//port > is usb port device's sysfs directory. > > -What: /sys/bus/usb/devices/.../(hub interface)/portX/connect_type > +What: /sys/bus/usb/devices/...//port/connect_type > Date: January 2013 > Contact: Lan Tianyu > Description: > @@ -182,7 +182,7 @@ Description: > The file will read "hotplug", "hardwired" and "not used" if the > information is available, and "unknown" otherwise. > > -What: /sys/bus/usb/devices/.../(hub interface)/portX/location > +What: /sys/bus/usb/devices/...//port/location > Date: October 2018 > Contact: Bjørn Mork > Description: > @@ -192,7 +192,7 @@ Description: > raw location value as a hex integer. > > > -What: /sys/bus/usb/devices/.../(hub interface)/portX/quirks > +What: /sys/bus/usb/devices/...//port/quirks > Date: May 2018 > Contact: Nicolas Boichat > Description: > @@ -216,7 +216,7 @@ Description: > used to help make enumeration work better on some high speed > devices. > > -What: /sys/bus/usb/devices/.../(hub interface)/portX/over_current_count > +What: /sys/bus/usb/devices/...//port/over_current_count > Date: February 2018 > Contact: Richard Leitner > Description: > @@ -230,10 +230,10 @@ Description: > Any time this value changes the corresponding hub device will send a > udev event with the following attributes:: > > - OVER_CURRENT_PORT=/sys/bus/usb/devices/.../(hub interface)/portX > + OVER_CURRENT_PORT=/sys/bus/usb/devices/...//port > OVER_CURRENT_COUNT=[current value of this sysfs attribute] > > -What: /sys/bus/usb/devices/.../(hub interface)/portX/usb3_lpm_permit > +What: /sys/bus/usb/devices/...//port/usb3_lpm_permit > Date: November 2015 > Contact: Lu Baolu > Description: > -- > 2.31.1 >