drivers/note: Fix typos.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-11-12 18:50:14 +01:00 committed by Alan Carvalho de Assis
parent f5c5d77744
commit 9b1d4de3be
3 changed files with 5 additions and 5 deletions

View File

@ -34,10 +34,10 @@ config DRIVER_NOTERAM
buffer.
NOTE: This option is not available if critical sections are being
monitor (nor if spinlocks are being monitored in SMP configuration)
monitored (nor if spinlocks are being monitored in SMP configuration)
because there would be a logical error in the design in those cases.
That error is that these interfaces call enter_ and leave_critical_section
(and which us spinlocks in SMP mode). That means that each call to
(which use spinlocks in SMP mode). That means that each call to
sched_note_get() causes several additional entries to be added from
the note buffer in order to remove one entry.

View File

@ -231,7 +231,7 @@ static int notectl_ioctl(struct file *filep, int cmd, unsigned long arg)
* None.
*
* Returned Value:
* Zero on succress. A negated errno value is returned on a failure.
* Zero on success. A negated errno value is returned on a failure.
*
****************************************************************************/

View File

@ -949,7 +949,7 @@ config SCHED_INSTRUMENTATION
void sched_note_cpu_resume(FAR struct tcb_s *tcb, int cpu);
void sched_note_cpu_resumed(FAR struct tcb_s *tcb);
NOTE: These are internal OS interfaces and are called at at very
NOTE: These are internal OS interfaces and are called at very
critical locations in the OS. There is very little that can be
done in these interfaces. For example, normal devices may not be
used; syslog output cannot be performed.
@ -965,7 +965,7 @@ config SCHED_INSTRUMENTATION_EXTERNAL
SCHED_INSTRUMENTATION_SPINLOCKS, SCHED_INSTRUMENTATION_SYSCALL and
SCHED_INSTRUMENTATION_IRQHANDLER. Otherwise the common code will implement
these callbacks and packet the arguments into note_ struct. Then the board
-specific logic just need to implement one callback:
-specific logic just needs to implement one callback:
void sched_note_add(FAR const void *note, size_t notelen);