aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/genpd.py
diff options
context:
space:
mode:
authorChangbin Du <[email protected]>2020-11-02 15:30:52 +0800
committerPalmer Dabbelt <[email protected]>2020-11-06 00:03:46 -0800
commit635e3f3e47f24b2506bc9daf91d70ddf3cd024a9 (patch)
tree190bfd65139ea47af92ae32608de28c1f7b7b73a /scripts/gdb/linux/genpd.py
parentbcacf5f6f239a9e60287680514f392748cb4ec39 (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