summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorJ. Neuschäfer <j.ne@posteo.net>2025-02-18 14:39:45 +0100
committerTom Rini <trini@konsulko.com>2025-02-28 08:37:55 -0600
commitc634436038072270811008b2b698ddaec8be6967 (patch)
treed5cd996be05c11ac02ad4064c4afc0117f3b99b4 /tools/patman/patchstream.py
parent1ca97ee9039293858988dc38ea3a8ff995b4950e (diff)
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>
Diffstat (limited to 'tools/patman/patchstream.py')
0 files changed, 0 insertions, 0 deletions