[PATCH] riscv: ftrace: Add parentheses in macro definitions of make_call_t0 and make_call_ra

patchwork-bot+linux-riscv at kernel.org patchwork-bot+linux-riscv at kernel.org
Wed Mar 26 20:24:41 PDT 2025


Hello:

This patch was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti at rivosinc.com>:

On Thu,  6 Feb 2025 13:28:36 -0600 you wrote:
> This patch adds parentheses to parameters caller and callee of macros
> make_call_t0 and make_call_ra. Every existing invocation of these two
> macros uses a single variable for each argument, so the absence of the
> parentheses seems okay. However, future invocations might use more
> complex expressions as arguments. For example, a future invocation might
> look like this: make_call_t0(a - b, c, call). Without parentheses in the
> macro definition, the macro invocation expands to:
> 
> [...]

Here is the summary with links:
  - riscv: ftrace: Add parentheses in macro definitions of make_call_t0 and make_call_ra
    https://git.kernel.org/riscv/c/5f1a58ed91a0

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-riscv mailing list