aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-10-28 13:23:44 +0000
committerThomas Bogendoerfer <[email protected]>2022-11-11 14:53:58 +0000
commit648060902aa302331b5d6e4f26d8ee0761d239ab (patch)
treed575c80faf22cc8d50f6af9bca28e41b69b3af4e /lib/test-string_helpers.c
parentMIPS: jump_label: Fix compat branch range check (diff)
downloadkernel-648060902aa302331b5d6e4f26d8ee0761d239ab.tar.gz
kernel-648060902aa302331b5d6e4f26d8ee0761d239ab.zip
MIPS: pic32: treat port as signed integer
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 <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions