We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b701f9e commit 8cb22beCopy full SHA for 8cb22be
arch/riscv/kernel/probes/simulate-insn.c
@@ -24,7 +24,7 @@ static inline bool rv_insn_reg_set_val(struct pt_regs *regs, u32 index,
24
unsigned long val)
25
{
26
if (index == 0)
27
- return false;
+ return true;
28
else if (index <= 31)
29
*((unsigned long *)regs + index) = val;
30
else
0 commit comments