projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
be2net: NCSI FW section should be properly updated with ethtool for BE3
[cascardo/linux.git]
/
lib
/
ucs2_string.c
diff --git
a/lib/ucs2_string.c
b/lib/ucs2_string.c
index
f0b323a
..
ae8d249
100644
(file)
--- a/
lib/ucs2_string.c
+++ b/
lib/ucs2_string.c
@@
-56,7
+56,7
@@
ucs2_utf8size(const ucs2_char_t *src)
unsigned long i;
unsigned long j = 0;
- for (i = 0;
i < ucs2_strlen(src)
; i++) {
+ for (i = 0;
src[i]
; i++) {
u16 c = src[i];
if (c >= 0x800)