[PATCH 2/2] lib/charset: fix u16_strlcat() return value

Tom Rini trini at konsulko.com
Wed Aug 9 03:39:40 CEST 2023


On Fri, Jul 14, 2023 at 01:24:51PM +0200, Matthias Schiffer wrote:

> strlcat returns min(strlen(dest), count)+strlen(src). Make u16_strlcat's
> behaviour the same for consistency.
> 
> Fixes: eca08ce94ceb ("lib/charset: add u16_strlcat() function")
> Signed-off-by: Matthias Schiffer <matthias.schiffer at ew.tq-group.com>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230808/3dac43a1/attachment.sig>


More information about the U-Boot mailing list