[tip:perf/core] watchdog: Fix typo in comment

2019-04-18 Thread tip-bot for Arash Fotouhi
Commit-ID:  76e1552466ff2da8b909df0fff3600ec1c27edcc
Gitweb: https://git.kernel.org/tip/76e1552466ff2da8b909df0fff3600ec1c27edcc
Author: Arash Fotouhi 
AuthorDate: Fri, 22 Mar 2019 19:28:32 -0700
Committer:  Ingo Molnar 
CommitDate: Thu, 18 Apr 2019 14:05:51 +0200

watchdog: Fix typo in comment

Signed-off-by: Arash Fotouhi 
Cc: Linus Torvalds 
Cc: Peter Zijlstra 
Cc: Thomas Gleixner 
Cc: lober...@redhat.com
Cc: vincent.whitchu...@axis.com
Link: 
http://lkml.kernel.org/r/1553308112-3513-1-git-send-email-ar...@arashfotouhi.com
Signed-off-by: Ingo Molnar 
---
 kernel/watchdog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 6a5787233113..7f9e7b9306fe 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -590,7 +590,7 @@ static void lockup_detector_reconfigure(void)
  * Create the watchdog thread infrastructure and configure the detector(s).
  *
  * The threads are not unparked as watchdog_allowed_mask is empty.  When
- * the threads are sucessfully initialized, take the proper locks and
+ * the threads are successfully initialized, take the proper locks and
  * unpark the threads in the watchdog_cpumask if the watchdog is enabled.
  */
 static __init void lockup_detector_setup(void)


[PATCH] kernel: watchdog: fixed spelling mistake

2019-03-22 Thread Arash Fotouhi
Fixed a spelling mistake.

Signed-off-by: Arash Fotouhi 
---
 kernel/watchdog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 8fbfda9..7e23e5e 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -588,7 +588,7 @@ static void lockup_detector_reconfigure(void)
  * Create the watchdog thread infrastructure and configure the detector(s).
  *
  * The threads are not unparked as watchdog_allowed_mask is empty.  When
- * the threads are sucessfully initialized, take the proper locks and
+ * the threads are successfully initialized, take the proper locks and
  * unpark the threads in the watchdog_cpumask if the watchdog is enabled.
  */
 static __init void lockup_detector_setup(void)
-- 
2.7.4



[PATCH] Staging: comedi: ni_mio_common.c: Added blank line after declarations

2019-03-21 Thread Arash Fotouhi
Added blank line after declarations.

Signed-off-by: Arash Fotouhi 
---
 drivers/staging/comedi/drivers/ni_mio_common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/comedi/drivers/ni_mio_common.c 
b/drivers/staging/comedi/drivers/ni_mio_common.c
index 5edf59a..c6aff8f 100644
--- a/drivers/staging/comedi/drivers/ni_mio_common.c
+++ b/drivers/staging/comedi/drivers/ni_mio_common.c
@@ -2110,6 +2110,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, 
struct comedi_subdevice *s,
 
if (cmd->scan_begin_src == TRIG_TIMER) {
unsigned int tmp = cmd->scan_begin_arg;
+
cmd->scan_begin_arg =
ni_timer_to_ns(dev, ni_ns_to_timer(dev,
   cmd->scan_begin_arg,
@@ -2120,6 +2121,7 @@ static int ni_ai_cmdtest(struct comedi_device *dev, 
struct comedi_subdevice *s,
if (cmd->convert_src == TRIG_TIMER) {
if (!devpriv->is_611x && !devpriv->is_6143) {
unsigned int tmp = cmd->convert_arg;
+
cmd->convert_arg =
ni_timer_to_ns(dev, ni_ns_to_timer(dev,
   cmd->convert_arg,
-- 
2.7.4