On Tue, 18 Feb 2025 14:39:45 +0100, J. Neuschäfer wrote: > 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 *} > > [...]
Applied to u-boot/next, thanks! -- Tom