diff mbox series

[1/1] log: typos in include/log.h

Message ID 20201130080448.13644-1-xypron.glpk@gmx.de
State Accepted
Commit 9e925d0c47871c5e38e70334d6485c504c0552e0
Delegated to: Tom Rini
Headers show
Series [1/1] log: typos in include/log.h | expand

Commit Message

Heinrich Schuchardt Nov. 30, 2020, 8:04 a.m. UTC
Correct several typos.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 include/log.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.29.2

Comments

Simon Glass Nov. 30, 2020, 8:11 p.m. UTC | #1
On Mon, 30 Nov 2020 at 01:04, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Correct several typos.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  include/log.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Dec. 3, 2020, 4:59 p.m. UTC | #2
On Mon, Nov 30, 2020 at 09:04:48AM +0100, Heinrich Schuchardt wrote:

> Correct several typos.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/log.h b/include/log.h
index e53afa490e..6bce560648 100644
--- a/include/log.h
+++ b/include/log.h
@@ -29,7 +29,7 @@  enum log_level_t {
 	LOGL_CRIT,
 	/** @LOGL_ERR: Error that prevents something from working */
 	LOGL_ERR,
-	/** @LOGL_WARNING: Warning may prevent optimial operation */
+	/** @LOGL_WARNING: Warning may prevent optimal operation */
 	LOGL_WARNING,
 	/** @LOGL_NOTICE: Normal but significant condition, printf() */
 	LOGL_NOTICE,
@@ -322,7 +322,7 @@  void __assert_fail(const char *assertion, const char *file, unsigned int line,
  *
  * Members marked as 'not allocated' are stored as pointers and the caller is
  * responsible for making sure that the data pointed to is not overwritten.
- * Memebers marked as 'allocated' are allocated (e.g. via strdup()) by the log
+ * Members marked as 'allocated' are allocated (e.g. via strdup()) by the log
  * system.
  *
  * TODO(sjg@chromium.org): Compress this struct down a bit to reduce space, e.g.
@@ -379,7 +379,7 @@  struct log_driver {
  * the run-time aspects of drivers (currently just a list of filters to apply
  * to records send to this device).
  *
- * @next_filter_num: Seqence number of next filter filter added (0=no filters
+ * @next_filter_num: Sequence number of next filter filter added (0=no filters
  *	yet). This increments with each new filter on the device, but never
  *	decrements
  * @flags: Flags for this filter (enum log_device_flags)
@@ -412,7 +412,7 @@  enum log_filter_flags {
 };

 /**
- * struct log_filter - criterial to filter out log messages
+ * struct log_filter - criteria to filter out log messages
  *
  * If a message matches all criteria, then it is allowed. If LOGFF_DENY is set,
  * then it is denied instead.