projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[WATCHDOG] use ENOTTY instead of ENOIOCTLCMD in ioctl()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
char
/
watchdog
/
booke_wdt.c
diff --git
a/drivers/char/watchdog/booke_wdt.c
b/drivers/char/watchdog/booke_wdt.c
index e3cefc538b40476b341aeed5e4f61a874b64baa4..488902231cc237ec24cd76568af57c186bc6d12d 100644
(file)
--- a/
drivers/char/watchdog/booke_wdt.c
+++ b/
drivers/char/watchdog/booke_wdt.c
@@
-125,7
+125,7
@@
static int booke_wdt_ioctl (struct inode *inode, struct file *file,
return -EINVAL;
return 0;
default:
- return -ENO
IOCTLCMD
;
+ return -ENO
TTY
;
}
return 0;