projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
028dfc4
)
[i.MX845/VPU]:MLK-21235-3: multi instance encode process fail to resume encoding...
author
Zhou Peng
<eagle.zhou@nxp.com>
Tue, 7 May 2019 04:08:08 +0000
(12:08 +0800)
committer
Zhou Peng
<eagle.zhou@nxp.com>
Tue, 7 May 2019 04:20:43 +0000
(12:20 +0800)
Modify 32bits ioctl function, remove wrong conversion between kernel and user space.
Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
(cherry picked from commit
23bde9ab8989b28b209521e0ad9f75fe93534e66
)
drivers/mxc/hantro_845_h1/hx280enc.c
patch
|
blob
|
history
diff --git
a/drivers/mxc/hantro_845_h1/hx280enc.c
b/drivers/mxc/hantro_845_h1/hx280enc.c
index
2dd18ef
..
40f4fe8
100755
(executable)
--- a/
drivers/mxc/hantro_845_h1/hx280enc.c
+++ b/
drivers/mxc/hantro_845_h1/hx280enc.c
@@
-522,11
+522,7
@@
union {
break;
}
case _IOC_NR(HX280ENC_IOCG_CORE_WAIT): {
- err = get_user(karg.kui, (s32 __user *)up);
- if (err)
- return err;
- HX280ENC_IOCTL32(err, filp, cmd, (unsigned long)&karg);
- err = put_user(((s32)karg.kui), (s32 __user *)up);
+ HX280ENC_IOCTL32(err, filp, cmd, (unsigned long)up);
break;
}
}