Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3983808pxb; Mon, 27 Sep 2021 07:03:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfbHqVKKYDmZwH64wGSJb+UKsBhCzmgSRZFKFczAGIk9RIQxh3ansdK9ocnK/9GJsoZIQh X-Received: by 2002:a17:903:1103:b0:12c:59b:dc44 with SMTP id n3-20020a170903110300b0012c059bdc44mr154639plh.47.1632751420548; Mon, 27 Sep 2021 07:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632751420; cv=none; d=google.com; s=arc-20160816; b=oTMEEB762DM+uU0fVcwW3Ov1Dq9nKCTFfHWr04PN2jjncTejEIM9TzZtO2vGASbip5 pB160qbhm+7zCT95VqA5Pc4epVtgWWss3DdLb+SOtQMsIlcaNTc1k88cT/y+carViB3U s7cVIklM7fAkjzZ+lGkaIWDEDSHIW3ULhMAjgrgBJ1G9Dwxb7LBKVoOnp2T3SHDr7NvP KyGYqC8Seg7W2lEtbj59OsV+oF0v0MJ/gl5Nj8ZDNO0/ykenyn+dVYFmQDkfPAucyN6t lYBD9tdXlqnaFAqx9Cq1G6j5mL108+OLQfcN8dWRygkdK+CN97bxo6kTRpGUmhBEUlGw NBtg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zh5u37K01gKleZsSt+pW2DbA7cmSxTh89krckwnbRao=; b=cqf1epgxGiIyW4h/7J0npPRo2VWkrPfky28A1Mr1Cfk8mjG8dbHiMFhErnZqPP7ThV xMtLk/dLV8rPqGnJi7x5a9PP7brHmhGGmNRDxLDWZnEqwpzDz2m6bRLP5IDp1gp/Wmgo PX759p2ndlMojTldrXAJsShHE5CiG2n0PoSQtxX8UqIiC0W/c3w3XCK8YEhfAPOdU3/1 sB9+n3lsR1dWPsL0livvIK8BZ00LDzF2BAtxBQNQDC0TK/5+WZ90p2GOCElvsm9UwOHR 15NTyBch0aq44ywyB28OLJ194gAWBiCUPsGMvKYtdfYnW9XRpYnUysnoAqtgJ0t8OkmF AyUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=faBzzLhM; 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 l22si20376124pff.260.2021.09.27.07.03.26; Mon, 27 Sep 2021 07:03:40 -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=faBzzLhM; 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 S234846AbhI0OCO (ORCPT + 99 others); Mon, 27 Sep 2021 10:02:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:48028 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234712AbhI0OBf (ORCPT ); Mon, 27 Sep 2021 10:01:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4F5DD6113A; Mon, 27 Sep 2021 13:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632751197; bh=QIR/AZvKaUB5YUKjxRfW+Aj0W2BpAPheeO7XHo4T6d8=; h=From:To:Cc:Subject:Date:From; b=faBzzLhMoCv55p/1SGPbfuO2mqFBV1uKCBpZcOJkQ77e2bYcI/V+I0Du5QuiA6Yam sjj/K0e3D/bRS6Uie5RoaylzqP4FUtCtfaIFh21pHSw8Gqt7w6nfJxK4VJjBPtfMWd YqoJgkMeTtSoclP2CIO5w/A/ReGXGnABObb79y+lILdhCyYNDyF3V/abPst3VA5ZY6 1CBtrN/XiDboAFW5HhSUY1YINX8mj4Mw1PR2uAIYt+Zmse6klPgwRgDWe81TnGW1RI R5uAPTevKG0aVcJeGITlfDb9rJVGU12O63FfTyYbX4fPLnUwU9UIulUADlpph0kxQC +Nm3Gcai5fBXQ== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mUrAh-000AtX-6i; Mon, 27 Sep 2021 15:59:55 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "Martin K. Petersen" , "Rafael J. Wysocki" , Adrian Hunter , Alan Stern , Amey Narkhede , Avri Altman , Barry Song , Bean Huo , Bjorn Helgaas , Can Guo , Carlos Bilbao , Cezary Rojewski , Christoph Lameter , Daejun Park , David Windsor , Dominik Brodowski , Geert Uytterhoeven , Heikki Krogerus , Jonathan Cameron , Kees Cook , Leon Romanovsky , Lukas Bulwahn , Marc Zyngier , Maximilian Luz , Niklas Schnelle , Oded Gabbay , Pekka Enberg , Rajat Jain , Srinivas Kandagatla , Suzuki K Poulose , Thomas Gleixner , Tom Rix , Vaibhav Jain Subject: [PATCH 00/17] ABI: update files to reduce the documentation gap Date: Mon, 27 Sep 2021 15:59:33 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On a recent work, "scripts/get_abi.pl" gained a command that validates if the files under /sys are properly described inside Documentation/ABI. It does that by comparing the What: fields inside Documentation/ABI with the entries under /sysfs. This series addresses some of the most commonly missed nodes (in terms of the number of reported occurencies). This series is based on next-20210927. Most patches are independent from the other patches on this series. - After this series, the number of warnings reduced a lot on my desktop (a NUC8i7HNK): $ time ./scripts/get_abi.pl undefined |sort >undef && cat undef|perl -ne 'print "$1\n" if (m#.*/(\S+) not found#)'|sort|uniq -c|sort -nr >undefined_symbols && wc -l undef undefined_symbols real 0m6,583s user 0m5,841s sys 0m0,718s 6663 undef 774 undefined_symbols 7437 total Please notice that this script runs millions of regular expressions in order to do such match. So, while here is is running on 6 seconds, it could take a lot more time on a bigger machine. Mauro Carvalho Chehab (17): ABI: stable/sysfs-module: better document modules ABI: stable/sysfs-module: document version and srcversion ABI: testing/sysfs-module: document initstate ABI: sysfs-devices-power: document some RPM statistics ABI: sysfs-devices: add /dev ABI ABI: sysfs-bus-pci: add documentation for modalias ABI: o2cb: add an obsolete file for /sys/o2cb ABI: sysfs-kernel-slab: Document some stats ABI: sysfs-devices-power: add some debug sysfs files ABI: sysfs-bus-pci: add a alternative What fields ABI: sysfs-class-bdi: use What: to describe each property ABI: sysfs-bus-mdio: add alternate What for mdio symbols ABI: sysfs-bus-usb: use a wildcard for interface name on What ABI: sysfs-bus-usb: add missing sysfs fields ABI: obsolete/sysfs-bus-iio: add some missing blank lines ABI: sysfs-driver-ufs: Add another What for platform drivers ABI: sysfs-bus-platform: add modalias description Documentation/ABI/obsolete/o2cb | 11 + Documentation/ABI/obsolete/sysfs-bus-iio | 4 + Documentation/ABI/stable/o2cb | 2 +- Documentation/ABI/stable/sysfs-devices | 7 + Documentation/ABI/stable/sysfs-module | 25 +- Documentation/ABI/testing/sysfs-bus-mdio | 9 + Documentation/ABI/testing/sysfs-bus-pci | 22 ++ Documentation/ABI/testing/sysfs-bus-platform | 12 + Documentation/ABI/testing/sysfs-bus-usb | 276 +++++++++++++++++- Documentation/ABI/testing/sysfs-class-bdi | 30 +- Documentation/ABI/testing/sysfs-devices-power | 36 +++ Documentation/ABI/testing/sysfs-driver-ufs | 126 ++++++++ Documentation/ABI/testing/sysfs-kernel-slab | 21 ++ Documentation/ABI/testing/sysfs-module | 7 + 14 files changed, 571 insertions(+), 17 deletions(-) create mode 100644 Documentation/ABI/obsolete/o2cb -- 2.31.1