[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173643941449.1375203.9833257781109413385.git-patchwork-notify@kernel.org>
Date: Thu, 09 Jan 2025 16:16:54 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Nam Cao <namcao@...utronix.de>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, samuel.holland@...ive.com,
bjorn@...osinc.com, linux-kernel@...r.kernel.org, john.ogness@...utronix.de,
stable@...r.kernel.org
Subject: Re: [PATCH] riscv: kprobes: Fix incorrect address calculation
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.com>:
On Tue, 19 Nov 2024 12:10:56 +0100 you wrote:
> p->ainsn.api.insn is a pointer to u32, therefore arithmetic operations are
> multiplied by four. This is clearly undesirable for this case.
>
> Cast it to (void *) first before any calculation.
>
> Below is a sample before/after. The dumped memory is two kprobe slots, the
> first slot has
>
> [...]
Here is the summary with links:
- riscv: kprobes: Fix incorrect address calculation
https://git.kernel.org/riscv/c/13134cc94914
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists