linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tracing: fix typos in code and comments
@ 2019-05-21 14:47 houweitao
  2019-05-21 14:54 ` Greg KH
  2019-05-21 14:59 ` Steven Rostedt
  0 siblings, 2 replies; 3+ messages in thread
From: houweitao @ 2019-05-21 14:47 UTC (permalink / raw)
  To: linus.walleij, yamada.masahiro, a.zummo, alexandre.belloni,
	baohua, gregkh, jslaby, shawnguo, s.hauer, kernel, festevam,
	linux-imx, davem, rostedt, mingo
  Cc: linux-gpio, linux-arm-kernel, linux-kernel, linux-rtc,
	linux-serial, sparclinux, houweitao

fix ingore to ignore in kernel; since there are other
mistakes can be found with "git grep ",fix all

Signed-off-by: houweitao <houweitao@xiaomi.com>
---
 drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 2 +-
 drivers/rtc/rtc-sirfsoc.c                        | 2 +-
 drivers/tty/serial/mxs-auart.c                   | 2 +-
 drivers/tty/serial/serial_txx9.c                 | 2 +-
 drivers/tty/serial/sunsab.c                      | 2 +-
 kernel/trace/trace.c                             | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
index 57babf31e320..9f56863ed481 100644
--- a/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
+++ b/drivers/pinctrl/uniphier/pinctrl-uniphier-core.c
@@ -399,7 +399,7 @@ static int uniphier_conf_pin_bias_set(struct pinctrl_dev *pctldev,
 		}
 
 		if (arg == 0)
-			return 0; /* configuration ingored */
+			return 0; /* configuration ignored */
 		break;
 	default:
 		BUG();
diff --git a/drivers/rtc/rtc-sirfsoc.c b/drivers/rtc/rtc-sirfsoc.c
index 9ba28d1ebd87..af1b7ba403fc 100644
--- a/drivers/rtc/rtc-sirfsoc.c
+++ b/drivers/rtc/rtc-sirfsoc.c
@@ -121,7 +121,7 @@ static int sirfsoc_rtc_set_alarm(struct device *dev,
 		rtc_status_reg = sirfsoc_rtc_readl(rtcdrv, RTC_STATUS);
 		if (rtc_status_reg & SIRFSOC_RTC_AL0E) {
 			/*
-			 * An ongoing alarm in progress - ingore it and not
+			 * An ongoing alarm in progress - ignore it and not
 			 * to return EBUSY
 			 */
 			dev_info(dev, "An old alarm was set, will be replaced by a new one\n");
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
index 4c188f4079b3..9f83a387d6ed 100644
--- a/drivers/tty/serial/mxs-auart.c
+++ b/drivers/tty/serial/mxs-auart.c
@@ -667,7 +667,7 @@ static void mxs_auart_rx_char(struct mxs_auart_port *s)
 	}
 
 	/*
-	 * Mask off conditions which should be ingored.
+	 * Mask off conditions which should be ignored.
 	 */
 	stat &= s->port.read_status_mask;
 
diff --git a/drivers/tty/serial/serial_txx9.c b/drivers/tty/serial/serial_txx9.c
index d22ccb32aa9b..372890e3b896 100644
--- a/drivers/tty/serial/serial_txx9.c
+++ b/drivers/tty/serial/serial_txx9.c
@@ -314,7 +314,7 @@ receive_chars(struct uart_txx9_port *up, unsigned int *status)
 			}
 
 			/*
-			 * Mask off conditions which should be ingored.
+			 * Mask off conditions which should be ignored.
 			 */
 			disr &= up->port.read_status_mask;
 
diff --git a/drivers/tty/serial/sunsab.c b/drivers/tty/serial/sunsab.c
index 72131b5e132e..daae2b0dbe11 100644
--- a/drivers/tty/serial/sunsab.c
+++ b/drivers/tty/serial/sunsab.c
@@ -200,7 +200,7 @@ receive_chars(struct uart_sunsab_port *up,
 				up->port.icount.overrun++;
 
 			/*
-			 * Mask off conditions which should be ingored.
+			 * Mask off conditions which should be ignored.
 			 */
 			stat->sreg.isr0 &= (up->port.read_status_mask & 0xff);
 			stat->sreg.isr1 &= ((up->port.read_status_mask >> 8) & 0xff);
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 2c92b3d9ea30..bfa5ab0663e7 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -8554,7 +8554,7 @@ init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer)
 	ftrace_init_tracefs(tr, d_tracer);
 }
 
-static struct vfsmount *trace_automount(struct dentry *mntpt, void *ingore)
+static struct vfsmount *trace_automount(struct dentry *mntpt, void *ignore)
 {
 	struct vfsmount *mnt;
 	struct file_system_type *type;
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tracing: fix typos in code and comments
  2019-05-21 14:47 [PATCH] tracing: fix typos in code and comments houweitao
@ 2019-05-21 14:54 ` Greg KH
  2019-05-21 14:59 ` Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2019-05-21 14:54 UTC (permalink / raw)
  To: houweitao
  Cc: linus.walleij, yamada.masahiro, a.zummo, alexandre.belloni,
	baohua, jslaby, shawnguo, s.hauer, kernel, festevam, linux-imx,
	davem, rostedt, mingo, linux-gpio, linux-arm-kernel,
	linux-kernel, linux-rtc, linux-serial, sparclinux, houweitao

On Tue, May 21, 2019 at 10:47:40PM +0800, houweitao wrote:
> fix ingore to ignore in kernel; since there are other
> mistakes can be found with "git grep ",fix all
> 
> Signed-off-by: houweitao <houweitao@xiaomi.com>
> ---
>  drivers/pinctrl/uniphier/pinctrl-uniphier-core.c | 2 +-
>  drivers/rtc/rtc-sirfsoc.c                        | 2 +-
>  drivers/tty/serial/mxs-auart.c                   | 2 +-
>  drivers/tty/serial/serial_txx9.c                 | 2 +-
>  drivers/tty/serial/sunsab.c                      | 2 +-
>  kernel/trace/trace.c                             | 2 +-
>  6 files changed, 6 insertions(+), 6 deletions(-)

You have to split this up into patches for different subsystems, and use
your real name.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tracing: fix typos in code and comments
  2019-05-21 14:47 [PATCH] tracing: fix typos in code and comments houweitao
  2019-05-21 14:54 ` Greg KH
@ 2019-05-21 14:59 ` Steven Rostedt
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Rostedt @ 2019-05-21 14:59 UTC (permalink / raw)
  To: houweitao
  Cc: linus.walleij, yamada.masahiro, a.zummo, alexandre.belloni,
	baohua, gregkh, jslaby, shawnguo, s.hauer, kernel, festevam,
	linux-imx, davem, mingo, linux-gpio, linux-arm-kernel,
	linux-kernel, linux-rtc, linux-serial, sparclinux, houweitao

On Tue, 21 May 2019 22:47:40 +0800
houweitao <houweitaoo@gmail.com> wrote:

> diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
> index 2c92b3d9ea30..bfa5ab0663e7 100644
> --- a/kernel/trace/trace.c
> +++ b/kernel/trace/trace.c
> @@ -8554,7 +8554,7 @@ init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer)
>  	ftrace_init_tracefs(tr, d_tracer);
>  }
>  
> -static struct vfsmount *trace_automount(struct dentry *mntpt, void *ingore)
> +static struct vfsmount *trace_automount(struct dentry *mntpt, void *ignore)

"ingore we trust"

Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>

-- Steve

>  {
>  	struct vfsmount *mnt;
>  	struct file_system_type *type;
> -- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-21 14:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-21 14:47 [PATCH] tracing: fix typos in code and comments houweitao
2019-05-21 14:54 ` Greg KH
2019-05-21 14:59 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).