Messages in this thread | | | From | Björn Töpel <> | Subject | Re: [PATCH V2] riscv: kprobe: Fixup misaligned load text | Date | Mon, 06 Feb 2023 09:15:27 +0100 |
| |
guoren@kernel.org writes:
> From: Guo Ren <guoren@linux.alibaba.com> > > 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@linux.alibaba.com> > Signed-off-by: Guo Ren <guoren@kernel.org> > Link: https://lore.kernel.org/linux-riscv/878rhig9zj.fsf@all.your.base.are.belong.to.us/ > Reported-by: Bjorn Topel <bjorn.topel@gmail.com> > Cc: Jessica Clarke <jrtc27@jrtc27.com> > --- > Changelog > V2: > - Optimize coding convention (Thx Bjorn & Jessica)
Thank you for fixing this!
Reviewed-by: Björn Töpel <bjorn@kernel.org>
| |