projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cfb2fa
)
android: ->f_op is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 2 Sep 2014 21:29:40 +0000
(17:29 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:12 +0000
(
02:39
-0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/android/ion/compat_ion.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/android/ion/compat_ion.c
b/drivers/staging/android/ion/compat_ion.c
index ee3a7380e53b129ed04320940d6cae57cbbd4226..a402fdaf54ca37417e5282d1bb89008190b9a73a 100644
(file)
--- a/
drivers/staging/android/ion/compat_ion.c
+++ b/
drivers/staging/android/ion/compat_ion.c
@@
-125,7
+125,7
@@
long compat_ion_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
long ret;
- if (!filp->f_op
|| !filp->f_op
->unlocked_ioctl)
+ if (!filp->f_op->unlocked_ioctl)
return -ENOTTY;
switch (cmd) {