diff options
author | Zong Li <[email protected]> | 2018-08-13 14:48:49 +0800 |
---|---|---|
committer | Greentime Hu <[email protected]> | 2018-09-04 14:45:16 +0800 |
commit | 6cce95a6c7d288ac2126eee4b95df448b9015b84 (patch) | |
tree | 0c21be7d20b1f6d1e1368ab43df39a68797c98f0 /scripts/gcc-plugins | |
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 <[email protected]>
Acked-by: Greentime Hu <[email protected]>
Signed-off-by: Greentime Hu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions