Jiaxun Yang c198524a99 MIPS: jump_label: Fix compat branch range check
commit 64ac0befe75bdfaffc396c2b4a0ed5ae6920eeee upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-16 09:58:24 +01:00
..
2021-04-07 16:11:05 +02:00
2021-03-10 15:18:40 +01:00
2018-10-31 08:54:16 -07:00
2020-05-22 09:09:01 +02:00
2021-02-15 12:23:54 +01:00
2021-03-06 08:43:39 +01:00
2020-05-15 14:53:19 +02:00
2020-07-26 10:18:35 +02:00
2021-04-07 16:11:05 +02:00
2022-08-17 14:24:06 +02:00
2021-01-27 21:49:16 +01:00
2020-05-07 11:55:47 +02:00