[PATCH v2 4/5] Documentation: PM: QoS: Fix return type and return value description

From: Zhongqiu Han
Date: Mon Jul 21 2025 - 08:42:52 EST


The documentation for cpu_latency_qos_request_active() incorrectly stated
the return type as 'int' instead of 'bool', and the return value
description was incomplete. This patch corrects the return type and
clarifies the return value semantics.

Fixes: b8e6e27c626e ("Documentation: PM: QoS: Update to reflect previous code changes")
Signed-off-by: Zhongqiu Han <quic_zhonhan@xxxxxxxxxxx>
---
Documentation/power/pm_qos_interface.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/power/pm_qos_interface.rst b/Documentation/power/pm_qos_interface.rst
index 1ede4cafc2e3..c6b8b9cda166 100644
--- a/Documentation/power/pm_qos_interface.rst
+++ b/Documentation/power/pm_qos_interface.rst
@@ -55,9 +55,9 @@ void cpu_latency_qos_remove_request(handle):
int cpu_latency_qos_limit():
Returns the aggregated value for the CPU latency QoS.

-int cpu_latency_qos_request_active(handle):
- Returns if the request is still active, i.e. it has not been removed from the
- CPU latency QoS list.
+bool cpu_latency_qos_request_active(handle):
+ Returns true if the request is still active, i.e. it has not been removed from
+ the CPU latency QoS list.


From user space:
--
2.43.0