[PATCH] test: unicode: fix a sizeof() vs ARRAY_SIZE() bug

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

On Thu, Jul 27, 2023 at 10:12:58AM +0300, Dan Carpenter wrote:

> The u16_strlcat() is in units of u16 not bytes.  So the limit needs to
> be ARRAY_SIZE() instead of sizeof().
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>

Applied to u-boot/next, thanks!

-------------- 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/f8c63872/attachment.sig>

More information about the U-Boot mailing list