mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 17:49:03 +02:00
The type of 'val' is 'unsigned long' in simulate_blz32, so 'val < 0' can't be true. Cast 'val' to 'long' here to determine branch token or not, Fixup instructions: bnezad32, bhsz32, bhz32, blsz32, blz32 Link: https://lore.kernel.org/linux-csky/CAJF2gTQjKXR9gpo06WAWG1aquiT87mATiMGorXs6ChxOxoe90Q@mail.gmail.com/T/#t Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Co-developed-by: Menglong Dong <dong.menglong@zte.com.cn> Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn> |
||
|---|---|---|
| .. | ||
| decode-insn.c | ||
| decode-insn.h | ||
| ftrace.c | ||
| kprobes.c | ||
| kprobes_trampoline.S | ||
| Makefile | ||
| simulate-insn.c | ||
| simulate-insn.h | ||
| uprobes.c | ||