diff options
author | Zong Li <zong@andestech.com> | 2018-08-13 14:48:49 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-09-04 14:45:16 +0800 |
commit | 6cce95a6c7d288ac2126eee4b95df448b9015b84 (patch) | |
tree | 0c21be7d20b1f6d1e1368ab43df39a68797c98f0 /tools/perf/scripts/python/check-perf-trace.py | |
parent | c17df7960534357fb74074c2f514c831d4a9cf5a (diff) |
nds32: Fix get_user/put_user macro expand pointer problem
The pointer argument of macro need to be taken out once first, and then
use the new pointer in the macro body.
In kernel/trace/trace.c, get_user(ch, ubuf++) causes the unexpected
increment after expand the macro.
Signed-off-by: Zong Li <zong@andestech.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions