diff options
| author | Alison Schofield <alison.schofield@intel.com> | 2026-08-04 16:20:08 -0700 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-08-06 10:13:35 -0700 |
| commit | d7066cfc418714e536d78a1b7b93da2a7f12d9c9 (patch) | |
| tree | 7ab1b1fe5d32e1ef325c41087ffc8167479b714a /scripts/stackusage | |
| parent | 94d84e3d89594f6ad6dc5ed5bed05956bf146149 (diff) | |
| download | linux-d7066cfc418714e536d78a1b7b93da2a7f12d9c9.tar.gz linux-d7066cfc418714e536d78a1b7b93da2a7f12d9c9.zip | |
cxl/Documentation: Spell out globbed sysfs attribute names
Four entries in sysfs-bus-cxl use braced globs to document groups of
attributes. Where the glob factors out a common prefix, as in
cap_{pmem,ram,type2,type3}, no individual attribute name appears in
the file at all and none can be found by grep or get_abi.py search. In
every case the glob also keys get_abi.py validate on the glob string,
so duplicates against separately documented attributes go undetected.
Replace the globs with consecutive What: lines for each attribute.
These lines continue to share the existing metadata and description
and follow the format used in sysfs-driver-ufs and sysfs-bus-iio.
Also restore one missing blank line between entries.
Verify with:
python3 tools/docs/get_abi.py -D Documentation/ABI/testing validate
python3 tools/docs/get_abi.py search cap_pmem
python3 tools/docs/get_abi.py search create_ram_region
validate reports no sysfs-bus-cxl warning, and both searches now return
the stanza where they returned nothing before.
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260804232014.2286549-1-alison.schofield@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
