J. Neuschäfer
c634436038
serial: ns16550: Fix pointer type mismatch
...
serial_out_dynamic() takes a u8* addr and uses it for 8-bit or 32-bit
accesses, depending on the value of plat->reg_width. This results in a
pointer type mismatch that the compiler may even turn into an error:
drivers/serial/ns16550.c: In function ‘serial_out_dynamic’:
drivers/serial/ns16550.c:115:42: error: passing argument 1 of ‘out_be32’ from incompatible pointer type [-Wincompatible-pointer-types]
115 | out_be32(addr, value);
| ^~~~
| |
| u8 * {aka unsigned char *}
This error was observed on PowerPC.
Signed-off-by: J. Neuschäfer <j.ne@posteo.net >
2025-02-28 08:37:55 -06:00
..
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2018-05-07 09:34:12 -04:00
2024-12-11 08:36:24 +01:00
2024-10-11 11:44:48 -06:00
2025-02-28 08:37:55 -06:00
2024-07-31 16:56:06 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-01-29 22:35:02 -05:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-07-22 10:53:06 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2022-09-18 10:26:33 +02:00
2024-07-08 11:45:50 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2022-09-18 10:26:33 +02:00
2022-09-18 10:26:33 +02:00
2024-12-14 09:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:06 -06:00
2024-10-27 17:24:12 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-03-12 14:36:13 +08:00
2024-05-20 13:35:03 -06:00
2023-11-02 11:30:18 +01:00
2023-10-19 17:03:20 +02:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2023-11-13 10:55:38 +01:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-07-04 16:08:37 -06:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-16 15:54:38 -06:00
2024-10-11 11:44:48 -06:00
2024-07-22 10:53:06 -06:00
2023-01-20 12:27:24 -05:00