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

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

commit cb06ad5ec47632b686acf9c5751adfcfc183b474
Author: yinshengkai <yinsheng...@xiaomi.com>
AuthorDate: Wed Mar 15 11:31:01 2023 +0800

    note: fix sched_note_begin/end parameter error
    
    Signed-off-by: yinshengkai <yinsheng...@xiaomi.com>
---
 include/nuttx/sched_note.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/nuttx/sched_note.h b/include/nuttx/sched_note.h
index 946a70f728..8e07bc7e1b 100644
--- a/include/nuttx/sched_note.h
+++ b/include/nuttx/sched_note.h
@@ -143,9 +143,9 @@
           sched_note_printf_ip(tag, SCHED_NOTE_IP, "B|%d|%s", gettid(), str)
 #  define sched_note_endex(tag, str) \
           sched_note_printf_ip(tag, SCHED_NOTE_IP, "E|%d|%s", gettid(), str)
-#  define sched_note_begin(tag, ip) \
+#  define sched_note_begin(tag) \
           sched_note_string_ip(tag, SCHED_NOTE_IP, "B")
-#  define sched_note_end(tag, ip) \
+#  define sched_note_end(tag) \
           sched_note_string_ip(tag, SCHED_NOTE_IP, "E")
 #else
 #  define sched_note_string(tag, buf)

Reply via email to