Files
kernel_arpi/arch/mips/include/asm
Jason A. Donenfeld 5a792c1d4d MIPS: pic32: treat port as signed integer
[ Upstream commit 648060902aa302331b5d6e4f26d8ee0761d239ab ]

get_port_from_cmdline() returns an int, yet is assigned to a char, which
is wrong in its own right, but also, with char becoming unsigned, this
poses problems, because -1 is used as an error value. Further
complicating things, fw_init_early_console() is only ever called with a
-1 argument. Fix this up by removing the unused argument from
fw_init_early_console() and treating port as a proper signed integer.

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-02 17:41:02 +01:00
..
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2021-01-22 11:40:00 +01:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2020-09-07 22:25:27 +02:00
2021-09-08 15:32:35 -07:00
2020-11-11 23:49:22 +01:00
2019-10-31 15:03:10 -07:00
2021-07-13 15:08:15 -05:00
2019-05-22 18:45:52 -07:00
2020-05-22 09:09:01 +02:00
2021-05-07 00:26:34 -07:00
2021-01-04 11:37:27 +01:00
2020-05-19 17:39:32 +02:00
2019-02-04 10:56:41 -08:00
2020-05-22 09:10:53 +02:00
2021-04-06 15:12:58 +02:00
2018-08-01 13:20:15 -07:00
2021-04-06 15:12:58 +02:00
2019-04-03 10:32:54 +02:00
2021-09-08 15:32:35 -07:00
2019-07-25 21:45:05 -07:00
2021-01-27 21:49:16 +01:00
2020-09-07 22:25:27 +02:00