Hi Heinrich,

Why is the type of the first argument of utf8_utf16_str(n)cpy()
"u16 **", not "u16 *"?
(same issue against utf16_utf8_strncpy())

It's quit confusing, even causing an easy mistake since
it differs from normal strcpy().

What is worse is that we may need additional variable, which is never used,
to avoid unnecessary update of pointer. In all occurrences in current efi
implementation, there is no user of an updated pointer.

Thanks,
-Takahiro Akashi

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to