diff options
author | Jiaxun Yang | 2022-11-03 15:10:53 +0000 |
---|---|---|
committer | Thomas Bogendoerfer | 2022-11-11 15:46:03 +0100 |
commit | 64ac0befe75bdfaffc396c2b4a0ed5ae6920eeee (patch) | |
tree | c1d0305020a86a7e9f2244c0c7ec26c5cce4cc1d /mm/maccess.c | |
parent | 2a296157859287c3b639f7228354c13f7182ed71 (diff) |
MIPS: jump_label: Fix compat branch range check
Cast upper bound of branch range to long to do signed compare,
avoid negative offset trigger this warning.
Fixes: 9b6584e35f40 ("MIPS: jump_label: Use compact branches for >= r6")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions