This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 67b2b9909ee7366398ad4cffc5221ed912552a59
Author: guanyi <[email protected]>
AuthorDate: Fri May 16 16:07:54 2025 +0800

    driver/devfreq: add procfs for devfreq
    
    The devfreq procfs was added to this tree (#19741) with the backtrace
    record of a QoS request kept in an int, the index returned by the
    backtrace_record() of the time.  backtrace_record() now returns a
    pointer to the record, so keep it in a FAR void *, as in the original
    version of this change.
    
    Signed-off-by: guanyi <[email protected]>
---
 include/nuttx/devfreq/devfreq_qos.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/nuttx/devfreq/devfreq_qos.h 
b/include/nuttx/devfreq/devfreq_qos.h
index d85e135033f..631d4b952e3 100644
--- a/include/nuttx/devfreq/devfreq_qos.h
+++ b/include/nuttx/devfreq/devfreq_qos.h
@@ -42,7 +42,7 @@ struct qos_request_s
   struct plist_node min_req;
   struct plist_node max_req;
 #ifdef CONFIG_DEVFREQ_PROCFS_QOS
-  int backtrace;
+  FAR void *backtrace;
 #endif
 };
 

Reply via email to