Documentation/ABI: hv_24x7: Fix the catalog_len attribute name
PATCH 1/1 Documentation/ABI: hv_24x7: Fix the catalog_len attribute name
arch/powerpc/perf/hv-24x7.c creates the attribute as catalog_len (PAGE_0_ATTR(catalog_len, ...)); the ABI file has documented it as catalog_length since it was written.
Use catalog_len.
--- .../ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 +1 -1
@@ -33,7 +33,7 @@ Description: documented here: https://raw.githubusercontent.com/jmesmon/catalog-24x7/master/hv-24x7-catalog.h -What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_length +What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_len Date: February 2014 Contact: Linux on PowerPC Developer List <[email protected]> Description:
Signature · 1 line
2.53.0
Quoted 5 lines · Karl Mehltretter
arch/powerpc/perf/hv-24x7.ccreates the attribute ascatalog_len(PAGE_0_ATTR(catalog_len, ...)); the ABI file has documented it ascatalog_lengthsince it was written.Use
catalog_len.
Checked against arch/powerpc/perf/hv-24x7.c - the attribute is indeed
registered via PAGE_0_ATTR(catalog_len, ...), which means the sysfs file has always been catalog_len. The ABI documentation's use of catalog_length has been incorrect since the original commit ad0a02b83477 and has never matched the actual code.
The rename to catalog_len looks correct.
Thanks
Tanushree Shah
Quoted 21 lines
Fixes ad0a02b83477 ("powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>--- .../ABI/testing/sysfs-bus-event_source-devices-hv_24x7 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 +1
-1@@ -33,7 +33,7 @@ Description: documented here: https://raw.githubusercontent.com/jmesmon/catalog-24x7/master/hv-24x7-catalog.h -What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_length +What: /sys/bus/event_source/devices/hv_24x7/interface/catalog_len Date: February 2014 Contact: Linux on PowerPC Developer List <[email protected]> Description: