projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/staging/android/ion/compat_ion.c
b/drivers/staging/android/ion/compat_ion.c
index
ee3a738
..
a402fda
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) {