2015-05-23 05:08:11

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] kernel:watchdog - Fix for typo in comment in function watchdog_nmi_enable().


Signed-off-by: Shailendra Verma <[email protected]>
---
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