Re: [PATCH V2] riscv: kprobe: Fixup misaligned load text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



guoren@xxxxxxxxxx writes:

> From: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
>
> The current kprobe would cause a misaligned load for the probe point.
> This patch fixup it with two half-word loads instead.
>
> Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported")
> Signed-off-by: Guo Ren <guoren@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Guo Ren <guoren@xxxxxxxxxx>
> Link: https://lore.kernel.org/linux-riscv/878rhig9zj.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
> Reported-by: Bjorn Topel <bjorn.topel@xxxxxxxxx>
> Cc: Jessica Clarke <jrtc27@xxxxxxxxxx>
> ---
> Changelog
> V2:
>  - Optimize coding convention (Thx Bjorn & Jessica)

Thank you for fixing this!

Reviewed-by: Björn Töpel <bjorn@xxxxxxxxxx>




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux