2020-08-07 09:48:25

by Youling Tang

[permalink] [raw]
Subject: [PATCH] kernel/debug: Fix spelling mistake in debug_core.c

Fix typo: "notifiter" --> "notifier"
"overriden" --> "overridden"

Signed-off-by: Youling Tang <[email protected]>
---
kernel/debug/debug_core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
index b16dbc1..3eeee0a 100644
--- a/kernel/debug/debug_core.c
+++ b/kernel/debug/debug_core.c
@@ -80,7 +80,7 @@ static int exception_level;
struct kgdb_io *dbg_io_ops;
static DEFINE_SPINLOCK(kgdb_registration_lock);

-/* Action for the reboot notifiter, a global allow kdb to change it */
+/* Action for the reboot notifier, a global allow kdb to change it */
static int kgdbreboot;
/* kgdb console driver is loaded */
static int kgdb_con_registered;
@@ -163,7 +163,7 @@ early_param("nokgdbroundup", opt_nokgdbroundup);

/*
* Weak aliases for breakpoint management,
- * can be overriden by architectures when needed:
+ * can be overridden by architectures when needed:
*/
int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt)
{
--
2.1.0


2020-09-11 17:22:22

by Daniel Thompson

[permalink] [raw]
Subject: Re: [PATCH] kernel/debug: Fix spelling mistake in debug_core.c

On Fri, Aug 07, 2020 at 05:44:40PM +0800, Youling Tang wrote:
> Fix typo: "notifiter" --> "notifier"
> "overriden" --> "overridden"
>
> Signed-off-by: Youling Tang <[email protected]>

Applied. Thanks.


> ---
> kernel/debug/debug_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c
> index b16dbc1..3eeee0a 100644
> --- a/kernel/debug/debug_core.c
> +++ b/kernel/debug/debug_core.c
> @@ -80,7 +80,7 @@ static int exception_level;
> struct kgdb_io *dbg_io_ops;
> static DEFINE_SPINLOCK(kgdb_registration_lock);
>
> -/* Action for the reboot notifiter, a global allow kdb to change it */
> +/* Action for the reboot notifier, a global allow kdb to change it */
> static int kgdbreboot;
> /* kgdb console driver is loaded */
> static int kgdb_con_registered;
> @@ -163,7 +163,7 @@ early_param("nokgdbroundup", opt_nokgdbroundup);
>
> /*
> * Weak aliases for breakpoint management,
> - * can be overriden by architectures when needed:
> + * can be overridden by architectures when needed:
> */
> int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt)
> {
> --
> 2.1.0