[PATCH] serial: ns16550: Fix return-type warning
Tom Rini
trini at konsulko.com
Thu Feb 26 16:08:42 CET 2026
On Thu, Feb 26, 2026 at 05:02:47PM +0300, Nikita Shubin wrote:
> Fix compiler warning:
>
> drivers/serial/ns16550.c: In function ‘serial_in_dynamic’:
> drivers/serial/ns16550.c:153:1: warning: control reaches end
> of non-void function [-Wreturn-type]
> 153 | }
> | ^
>
> Fixes: 62cbde4c4e46 ("serial: ns16550: Support run-time configuration")
> Signed-off-by: Nikita Shubin <nikita.shubin at maquefel.me>
I assume this is from gcc-15.x ? Thanks.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260226/e47b60c4/attachment.sig>
More information about the U-Boot
mailing list