lkml.org 
[lkml]   [2015]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] kernel:watchdog - Fix for typo in comment in function watchdog_nmi_enable().
Date

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
kernel/watchdog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/watchdog.c b/kernel/watchdog.c
index 581a68a..4cf0ff8 100644
--- a/kernel/watchdog.c
+++ b/kernel/watchdog.c
@@ -539,7 +539,7 @@ static int watchdog_nmi_enable(unsigned int cpu)
/* Try to register using hardware perf events */
event = perf_event_create_kernel_counter(wd_attr, cpu, NULL, watchdog_overflow_callback, NULL);

- /* save cpu0 error for future comparision */
+ /* save cpu0 error for future comparison */
if (cpu == 0 && IS_ERR(event))
cpu0_err = PTR_ERR(event);

--
1.7.9.5


\
 
 \ /
  Last update: 2015-05-23 07:41    [W:0.530 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site