[WATCHDOG] git-watchdog-typo
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 24 Jul 2007 07:07:27 +0000 (00:07 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 24 Jul 2007 16:45:30 +0000 (16:45 +0000)
From: Andrew Morton <akpm@linux-foundation.org>

This driver isn't very coding-style friendly.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/char/watchdog/cpu5wdt.c

index 20eb6c3e98531115a891b3f5dee18446f22acbc8..5941ca601a3a17359637753fdc3558b86430252f 100644 (file)
@@ -164,7 +164,7 @@ static int cpu5wdt_ioctl(struct inode *inode, struct file *file, unsigned int cm
                        break;
                case WDIOC_GETBOOTSTATUS:
                        if ( copy_to_user(argp, &value, sizeof(int)) )
-                               retrun -EFAULT;
+                               return -EFAULT;
                        break;
                case WDIOC_GETSUPPORT:
                        if ( copy_to_user(argp, &ident, sizeof(ident)) )