Commit 4e24f4ed authored by Andrew Morton's avatar Andrew Morton Committed by Wim Van Sebroeck

[WATCHDOG] git-watchdog-typo

From: Andrew Morton <akpm@linux-foundation.org>

This driver isn't very coding-style friendly.
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c0e962f9
......@@ -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)) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment