diff options
author | Changbin Du <[email protected]> | 2020-11-02 15:30:52 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2020-11-06 00:03:46 -0800 |
commit | 635e3f3e47f24b2506bc9daf91d70ddf3cd024a9 (patch) | |
tree | 190bfd65139ea47af92ae32608de28c1f7b7b73a /scripts/gdb/linux/genpd.py | |
parent | bcacf5f6f239a9e60287680514f392748cb4ec39 (diff) |
riscv: uaccess: fix __put_kernel_nofault()
The copy_from_kernel_nofault() is broken on riscv because the 'dst' and
'src' are mistakenly reversed in __put_kernel_nofault() macro.
copy_to_kernel_nofault:
...
0xffffffe0003159b8 <+30>: sd a4,0(a1) # a1 aka 'src'
Fixes: d464118cdc ("riscv: implement __get_kernel_nofault and __put_user_nofault")
Signed-off-by: Changbin Du <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Tested-by: Anup Patel <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions