Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1202198pxb; Thu, 16 Sep 2021 02:01:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzjvEAxcULqhdBCRjYgDwz4U+GWsbVrynTQwIyssN5l/7idZQXEjy6gzWgIYSRuRgjBAzq1 X-Received: by 2002:a02:5d45:: with SMTP id w66mr3454100jaa.82.1631782891021; Thu, 16 Sep 2021 02:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631782891; cv=none; d=google.com; s=arc-20160816; b=Sn6xO/foCUCpe7Chdnb/923NrY2VioIU2LiOHU9A834GHd0aW4oulW8CpX8evgpi65 xaJBnfH30h4BXE6/EWnDdB9FAcFD4e64jlnsuwDf1hHzWfHafjKLqrSWlpEC4MBLSxwg It1wiY9gxfTw3ugiKVgR/ji4jMK3sfHkOXy1UE3+HQXNauL5SXTlxFoEwec8R4iSiSch vX9N6ngI1vHL29h7eVkROL9dH/Tj0VSY+FFK5jbAMaEjXyfHj9klmJT1KeHILlHoK+dp ZPPY+voehWkNj3QjC0V1nhr4+HwMdQyz6H397nFGLnMjDwx53/s7dltuZlwfVAhKuIvG NKmQ== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=G0iveqqANiEBqhlkhq1/1A8GxopcRw54ss8uvuPe+9Q=; b=m2zdaMKZ2ZzW1EV417+7NWhWZnENvfg/kSLLPFd8cE7RVJlwUjyBjD3aRha3tJpzrJ nqkuPJspClmSEqNCJ1v9ui7bCYZhMlIPQ9av6Zjdf1yDuy4sF2iwu6ZU9kFkykhSDT52 Z8cv0s07lY8g5T0gevx4vO/uE1W0SfsTVHsLIBH99D+/7poA81dasrVDZi05dY2JUH05 m4V2PZIsdYvfj/ICBSZGO0DymTdbausZcPzPVnl/bwoVOwUlbkRbvLaO2YDW3E2cyBlm FNu+dbKZM5z8SvFCgf43u7ixzXqVPeOmVNw9R3GlOlY82vQh8oM4dwxvrX6th46Z/vRB K6Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mVBG/hXI"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si2849405ilu.95.2021.09.16.02.01.19; Thu, 16 Sep 2021 02:01:31 -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=@kernel.org header.s=k20201202 header.b="mVBG/hXI"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235857AbhIPJBq (ORCPT + 99 others); Thu, 16 Sep 2021 05:01:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:36122 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235352AbhIPJBW (ORCPT ); Thu, 16 Sep 2021 05:01:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3F90761242; Thu, 16 Sep 2021 09:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631782802; bh=omLihTTkbbmL7wIzlqe8Cy3U+pVQfVA1OrggMS33ax4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mVBG/hXI7JDss9Q+jJqkj3TfpB+OXbetHzNP4olp3iWLCuZNzsalqMRT5LMKOpkaP dn96iCT5XBcDQT6hEB5QRBS+EzJlBDsEY3epW6gjNIweY4gIhkLV3qdiGU7eYAArVx uKQp7shwPwlJR8YD4MSOGLIRzzBEJvIOuBCFNiU6HEfvytSF02rC4ydpN455A5slq7 OZGPQ+SqvVzqwoHfKzK/LdGNT/u/L7Qz6PW8/rpW1JpNNVz0QvWBigquWdJsF9YQb4 cSQxYgjhdeG45Uf6CszXLt+NLdxOrctqaA3GvqKT+XcaGulVZ9xhm95ZMBgZcjE/B1 c8kkU9oYCOzFw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mQnFQ-001qjv-Gq; Thu, 16 Sep 2021 11:00:00 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , "Jonathan Corbet" , Fabrice Gasnier , Jonathan Cameron , linux-kernel@vger.kernel.org Subject: [PATCH v3 06/30] ABI: sysfs-bus-rapidio: use wildcards on What definitions Date: Thu, 16 Sep 2021 10:59:33 +0200 Message-Id: <207762e994d50eec0bf8d61c3adf153030c821eb.1631782432.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While humans may be able to understand that something like: /sys/bus/rapidio/devices/nn:d:iiii could actually mean: /sys/bus/rapidio/devices/00:e:0000 This is something that computers can't easily identify. As get_abi.pl needs to convert it into a regex, change What: lines to: /sys/bus/rapidio/devices/:: Which is the commonly-used pattern on ABI files for wildcards. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-bus-rapidio | 32 ++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-bus-rapidio b/Documentation/ABI/testing/sysfs-bus-rapidio index 634ea207a50a..f8b6728dac10 100644 --- a/Documentation/ABI/testing/sysfs-bus-rapidio +++ b/Documentation/ABI/testing/sysfs-bus-rapidio @@ -1,4 +1,4 @@ -What: /sys/bus/rapidio/devices/nn:d:iiii +What: /sys/bus/rapidio/devices/:: Description: For each RapidIO device, the RapidIO subsystem creates files in an individual subdirectory with the following name format of @@ -29,7 +29,7 @@ Description: Attributes Common for All RapidIO Devices ----------------------------------------- -What: /sys/bus/rapidio/devices/nn:d:iiii/did +What: /sys/bus/rapidio/devices/::/did Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -37,7 +37,7 @@ Contact: Matt Porter , Description: (RO) returns the device identifier -What: /sys/bus/rapidio/devices/nn:d:iiii/vid +What: /sys/bus/rapidio/devices/::/vid Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -45,7 +45,7 @@ Contact: Matt Porter , Description: (RO) returns the device vendor identifier -What: /sys/bus/rapidio/devices/nn:d:iiii/device_rev +What: /sys/bus/rapidio/devices/::/device_rev Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -53,7 +53,7 @@ Contact: Matt Porter , Description: (RO) returns the device revision level -What: /sys/bus/rapidio/devices/nn:d:iiii/asm_did +What: /sys/bus/rapidio/devices/::/asm_did Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -61,7 +61,7 @@ Contact: Matt Porter , Description: (RO) returns identifier for the assembly containing the device -What: /sys/bus/rapidio/devices/nn:d:iiii/asm_rev +What: /sys/bus/rapidio/devices/::/asm_rev Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -70,7 +70,7 @@ Description: (RO) returns revision level of the assembly containing the device -What: /sys/bus/rapidio/devices/nn:d:iiii/asm_vid +What: /sys/bus/rapidio/devices/::/asm_vid Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -79,7 +79,7 @@ Description: (RO) returns vendor identifier of the assembly containing the device -What: /sys/bus/rapidio/devices/nn:d:iiii/destid +What: /sys/bus/rapidio/devices/::/destid Date: Mar, 2011 KernelVersion: v2.6.3 Contact: Matt Porter , @@ -88,7 +88,7 @@ Description: (RO) returns device destination ID assigned by the enumeration routine -What: /sys/bus/rapidio/devices/nn:d:iiii/lprev +What: /sys/bus/rapidio/devices/::/lprev Date: Mar, 2011 KernelVersion: v2.6.39 Contact: Matt Porter , @@ -97,7 +97,7 @@ Description: (RO) returns name of previous device (switch) on the path to the device that that owns this attribute -What: /sys/bus/rapidio/devices/nn:d:iiii/modalias +What: /sys/bus/rapidio/devices/::/modalias Date: Jul, 2013 KernelVersion: v3.11 Contact: Matt Porter , @@ -105,7 +105,7 @@ Contact: Matt Porter , Description: (RO) returns the device modalias -What: /sys/bus/rapidio/devices/nn:d:iiii/config +What: /sys/bus/rapidio/devices/::/config Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -128,7 +128,7 @@ device-specific sysfs attributes by specifying a callback function that may be set by the switch initialization routine during enumeration or discovery process. -What: /sys/bus/rapidio/devices/nn:s:iiii/routes +What: /sys/bus/rapidio/devices/::/routes Date: Nov, 2005 KernelVersion: v2.6.15 Contact: Matt Porter , @@ -138,7 +138,7 @@ Description: This attribute reports only valid routing table entries, one line for each entry. -What: /sys/bus/rapidio/devices/nn:s:iiii/destid +What: /sys/bus/rapidio/devices/::/destid Date: Mar, 2011 KernelVersion: v2.6.3 Contact: Matt Porter , @@ -147,7 +147,7 @@ Description: (RO) device destination ID of the associated device that defines a route to the switch -What: /sys/bus/rapidio/devices/nn:s:iiii/hopcount +What: /sys/bus/rapidio/devices/::/hopcount Date: Mar, 2011 KernelVersion: v2.6.39 Contact: Matt Porter , @@ -155,7 +155,7 @@ Contact: Matt Porter , Description: (RO) number of hops on the path to the switch -What: /sys/bus/rapidio/devices/nn:s:iiii/lnext +What: /sys/bus/rapidio/devices/::/lnext Date: Mar, 2011 KernelVersion: v2.6.39 Contact: Matt Porter , @@ -172,7 +172,7 @@ Device-specific Switch Attributes IDT_GEN2- -What: /sys/bus/rapidio/devices/nn:s:iiii/errlog +What: /sys/bus/rapidio/devices/::/errlog Date: Oct, 2010 KernelVersion: v2.6.37 Contact: Matt Porter , -- 2.31.1