[U-Boot] efi: utf8_utf16_strncpy?

24 Oct
2018
24 Oct
'18
10:39 a.m.
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
2394
Age (days ago)
2394
Last active (days ago)
0 comments
1 participants
participants (1)
-
AKASHI Takahiro