[PATCH] Documentation/ABI: hv_24x7: Fix the catalog_len attribute name

Subsystems: the rest

COLD28d

2 messages, 2 authors, 28d ago · open the first message on its own page

[PATCH] Documentation/ABI: hv_24x7: Fix the catalog_len attribute name

From: Karl Mehltretter <hidden>
Date: 2026-09-05 10:31:11

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.

Fixes: ad0a02b83477 ("powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
---
 .../ABI/testing/sysfs-bus-event_source-devices-hv_24x7          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
index de390a010af8..9b231c80ea66 100644
--- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
+++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
@@ -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 <linuxppc-dev@lists.ozlabs.org>
 Description:
-- 
2.53.0

Re: [PATCH] Documentation/ABI: hv_24x7: Fix the catalog_len attribute name

From: Tanushree Shah <hidden>
Date: 2026-09-09 10:45:05

On 05/09/26 16:00, Karl Mehltretter wrote:
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.
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.

Reviewed-by: Tanushree Shah <redacted>


Thanks
Tanushree Shah
quoted hunk
Fixes: ad0a02b83477 ("powerpc/perf/hv_{gpci, 24x7}: Add documentation of device attributes")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <redacted>
---
  .../ABI/testing/sysfs-bus-event_source-devices-hv_24x7          | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7 b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
index de390a010af8..9b231c80ea66 100644
--- a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
+++ b/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
@@ -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 <linuxppc-dev@lists.ozlabs.org>
  Description:

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help