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 4fe35d140e4f196c3b5ec1d656967f099204bb8c Author: Bowen Wang <[email protected]> AuthorDate: Fri Jun 5 16:53:10 2026 +0800 drivers/note: rename notelog spinlock callback to notelog_spinlock The spinlock callback of notelog is the only notelog callback without the notelog_ prefix, and it has the name of the note_spinlock() macro of note_driver.c. Rename it to notelog_spinlock to match the other notelog_* callbacks. No functional change. Assisted-by: Kiro:claude-opus-5-5 Signed-off-by: Bowen Wang <[email protected]> --- drivers/note/notelog_driver.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/note/notelog_driver.c b/drivers/note/notelog_driver.c index b8be1501449..543bf8ba90e 100644 --- a/drivers/note/notelog_driver.c +++ b/drivers/note/notelog_driver.c @@ -69,10 +69,10 @@ static void notelog_csection(FAR struct note_driver_s *drv, FAR struct tcb_s *tcb, bool enter); #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS -static void note_spinlock(FAR struct note_driver_s *drv, - FAR struct tcb_s *tcb, - FAR volatile void *spinlock, - int type); +static void notelog_spinlock(FAR struct note_driver_s *drv, + FAR struct tcb_s *tcb, + FAR volatile void *spinlock, + int type); #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER static void notelog_irqhandler(FAR struct note_driver_s *drv, int irq, @@ -109,7 +109,7 @@ static const struct note_driver_ops_s g_notelog_ops = notelog_csection, /* csection */ #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS - note_spinlock, /* spinlock */ + notelog_spinlock, /* spinlock */ #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_SYSCALL NULL, /* syscall_enter */ @@ -283,10 +283,10 @@ static void notelog_csection(FAR struct note_driver_s *drv, #endif #ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS -static void note_spinlock(FAR struct note_driver_s *drv, - FAR struct tcb_s *tcb, - FAR volatile void *spinlock, - int type) +static void notelog_spinlock(FAR struct note_driver_s *drv, + FAR struct tcb_s *tcb, + FAR volatile void *spinlock, + int type) { FAR static const char * const tmp[] = {
