Zong Li 6cce95a6c7 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>
2018-09-04 14:45:16 +08:00
..
2018-09-02 10:44:28 -07:00
2018-08-25 13:40:38 -07:00
2018-08-25 13:40:38 -07:00
2018-08-23 14:09:37 -07:00
2018-08-25 13:40:38 -07:00
2018-08-25 13:40:38 -07:00
2018-08-25 13:40:38 -07:00
2018-08-23 14:55:01 -07:00